X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Finclude%2Fpalacios%2Fvmm.h;h=92ba2080abd9c2e3128b08f6e21b652bead0b2dd;hb=11b293c8f2068939809a1bc5ebe78abc7052f07f;hp=26c5c5e512cff7ad0e2eec2cbff2132eda27c6f7;hpb=39849abeb743c4e6b669a790c307979fa8d51884;p=palacios-OLD.git diff --git a/palacios/include/palacios/vmm.h b/palacios/include/palacios/vmm.h index 26c5c5e..92ba208 100644 --- a/palacios/include/palacios/vmm.h +++ b/palacios/include/palacios/vmm.h @@ -260,6 +260,11 @@ struct v3_os_hooks { void (*start_kernel_thread)(int (*fn)(void * arg), void * arg, char * thread_name); void (*yield_cpu)(void); + + void *(*mutex_alloc)(void); + void (*mutex_free)(void * mutex); + void (*mutex_lock)(void * mutex, int must_spin); + void (*mutex_unlock)(void * mutex); }; @@ -282,6 +287,8 @@ struct v3_vm_config { int use_ram_cd; int use_ram_hd; + int use_net_cd; + int use_net_hd; void * ramdisk; int ramdisk_size; @@ -323,7 +330,7 @@ struct v3_interrupt { void Init_V3(struct v3_os_hooks * hooks, struct v3_ctrl_ops * vmm_ops); int v3_deliver_irq(struct guest_info * vm, struct v3_interrupt * intr); -int v3_deliver_keyboard_evt(struct guest_info * vm); + #endif