X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Finclude%2Fgeekos%2Fvm_guest.h;fp=palacios%2Finclude%2Fgeekos%2Fvm_guest.h;h=aee6182e988da2b84717e0225f0637bf27aa04f7;hb=8cb3daaded0d8c80be801aa74493006b5a06999f;hp=2595de13ac6bc26629dac0ef6c6777fc4c6b2326;hpb=7acd54f8c3b30d118d56186a9c6506f21f85096d;p=palacios-OLD.git diff --git a/palacios/include/geekos/vm_guest.h b/palacios/include/geekos/vm_guest.h index 2595de1..aee6182 100644 --- a/palacios/include/geekos/vm_guest.h +++ b/palacios/include/geekos/vm_guest.h @@ -5,9 +5,14 @@ #include #include //#include -#include + +struct guest_info; + + +#include + struct guest_gprs { ullong_t rbx; ullong_t rcx; @@ -22,7 +27,7 @@ struct guest_gprs { typedef enum {SHADOW_PAGING, NESTED_PAGING} vm_page_mode_t; typedef enum {REAL, PROTECTED, PROTECTED_PG, PROTECTED_PAE, PROTECTED_PAE_PG, LONG, LONG_PG} vm_cpu_mode_t; -typedef struct guest_info { +struct guest_info { ullong_t rip; ullong_t rsp; @@ -30,7 +35,7 @@ typedef struct guest_info { vm_page_mode_t page_mode; - shadow_page_state_t shadow_page_state; + struct shadow_page_state shdw_pg_state; // nested_paging_t nested_page_state; @@ -43,7 +48,7 @@ typedef struct guest_info { struct guest_gprs vm_regs; void * vmm_data; -} guest_info_t; +};