X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Finclude%2Fpalacios%2Fvmm_time.h;h=ccc777524e857c81362c053df0ddcb0d9826a46c;hb=101529b6eae500272347287df43ec51aa003d0aa;hp=9af1840cd07f0d46a4caaf5248ca2e1577a1d7c5;hpb=90b8236597004a37a9d5acb33a1b1f987fe9070c;p=palacios.git diff --git a/palacios/include/palacios/vmm_time.h b/palacios/include/palacios/vmm_time.h index 9af1840..ccc7775 100644 --- a/palacios/include/palacios/vmm_time.h +++ b/palacios/include/palacios/vmm_time.h @@ -1,3 +1,6 @@ +/* (c) 2008, Jack Lange */ +/* (c) 2008, The V3VEE Project */ + #ifndef __VMM_TIME_H #define __VMM_TIME_H @@ -25,6 +28,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 +43,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 +51,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