X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Finclude%2Fgeekos%2Fvmm.h;h=896598f367f37109795ea8c8b3cf6929b1e44e8d;hb=c7e3f043b6458083162e23e1a8adb7703fd06559;hp=93e72115265141f8f5e94a912ac598f703d5e73c;hpb=4939ecae04ce6416f404670640620a23aee9b914;p=palacios.releases.git diff --git a/palacios/include/geekos/vmm.h b/palacios/include/geekos/vmm.h index 93e7211..896598f 100644 --- a/palacios/include/geekos/vmm.h +++ b/palacios/include/geekos/vmm.h @@ -6,8 +6,9 @@ #include #include -#include +//#include +#include /* utility definitions */ #define PrintDebug(fmt, args...) \ @@ -69,17 +70,6 @@ -typedef struct guest_info { - ullong_t rip; - ullong_t rsp; - - vmm_mem_list_t mem_list; - vmm_mem_layout_t mem_layout; - // device_map - - vmm_pde_t * page_tables; - void * vmm_data; -} guest_info_t; @@ -97,6 +87,9 @@ struct vmm_os_hooks { void *(*malloc)(uint_t size); void (*free)(void * addr); + void *(*paddr_to_vaddr)(void *addr); + void *(*vaddr_to_paddr)(void *addr); + void (*start_kernel_thread)(); // include pointer to function };