X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=blobdiff_plain;f=palacios%2Finclude%2Fpalacios%2Fvmm_time.h;h=fd73ab0afbf47ff6c8309340ee1822ded7dd3baf;hp=9af1840cd07f0d46a4caaf5248ca2e1577a1d7c5;hb=a1e0475bbefa968791679c5e71232ddca522868b;hpb=e494ee9fb669dc19d1e068077e5d449de622d96e diff --git a/palacios/include/palacios/vmm_time.h b/palacios/include/palacios/vmm_time.h index 9af1840..fd73ab0 100644 --- a/palacios/include/palacios/vmm_time.h +++ b/palacios/include/palacios/vmm_time.h @@ -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