X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Finclude%2Fpalacios%2Fvmm.h;h=5fcfeb3b830a23baf2155113bd4b7bd98621e69b;hb=fc14d48378cdc90085786bccf4a5230261a0d315;hp=2f264004d4bc0b027ebfeb5bcea98b2e3cf1700f;hpb=3cd1d3771e3f8e30b09f6c4995851979aaafc5ff;p=palacios.git diff --git a/palacios/include/palacios/vmm.h b/palacios/include/palacios/vmm.h index 2f26400..5fcfeb3 100644 --- a/palacios/include/palacios/vmm.h +++ b/palacios/include/palacios/vmm.h @@ -212,18 +212,23 @@ struct v3_os_hooks { int (*ack_irq)(int irq); - unsigned int (*get_cpu_khz)(); + unsigned int (*get_cpu_khz)(void); - void (*start_kernel_thread)(); // include pointer to function + void (*start_kernel_thread)(void); // include pointer to function - void (*yield_cpu)(); + void (*yield_cpu)(void); }; struct v3_vm_config { - void * vm_kernel; + void * rombios; + int rombios_size; + + void * vgabios; + int vgabios_size; + int use_ramdisk; void * ramdisk; int ramdisk_size; @@ -233,14 +238,14 @@ struct v3_vm_config { /* This will contain Function pointers that control the VMs */ struct v3_ctrl_ops { - struct guest_info *(*allocate_guest)(); + struct guest_info *(*allocate_guest)(void); int (*config_guest)(struct guest_info * info, struct v3_vm_config * config_ptr); int (*init_guest)(struct guest_info * info); int (*start_guest)(struct guest_info * info); // int (*stop_vm)(uint_t vm_id); - int (*has_nested_paging)(); + int (*has_nested_paging)(void); // v3_cpu_arch_t (*get_cpu_arch)(); };