Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


code clean up
[palacios.git] / palacios / include / palacios / vmm_time.h
index 9af1840..fd73ab0 100644 (file)
@@ -25,6 +25,8 @@ struct vm_time {
 };
 
 
+#ifdef __V3VEE__
+
 struct vm_timer_ops {
  void (*update_time)(ullong_t cpu_cycles, ullong_t cpu_freq, void * priv_data);
 
@@ -38,9 +40,6 @@ struct vm_timer {
 };
 
 
-void v3_init_time(struct vm_time * time_state);
-
-
 
 
 int v3_add_timer(struct guest_info * info, struct vm_timer_ops * ops, void * private_data);
@@ -49,4 +48,11 @@ int v3_remove_timer(struct guest_info * info, struct vm_timer * timer);
 
 void v3_update_time(struct guest_info * info, ullong_t cycles);
 
+#endif // !__V3VEE__
+
+
+void v3_init_time(struct guest_info * info);
+
+
+
 #endif