4 #include <palacios/vmm_mem.h>
5 #include <palacios/vmm_types.h>
6 #include <palacios/vmm_io.h>
7 #include <palacios/vmm_shadow_paging.h>
8 #include <palacios/vmm_intr.h>
10 typedef ullong_t gpr_t;
36 struct shadow_page_state;
39 typedef enum {SHADOW_PAGING, NESTED_PAGING} vm_page_mode_t;
40 typedef enum {REAL, PROTECTED, PROTECTED_PG, PROTECTED_PAE, PROTECTED_PAE_PG, LONG, LONG_PG} vm_cpu_mode_t;
46 struct shadow_map mem_map;
49 vm_page_mode_t page_mode;
50 struct shadow_page_state shdw_pg_state;
51 // nested_paging_t nested_page_state;
54 // This structure is how we get interrupts for the guest
55 struct vm_intr intr_state;
60 vm_cpu_mode_t cpu_mode;
63 struct guest_gprs vm_regs;