X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Finclude%2Fgeekos%2Fvmm_shadow_paging.h;h=1817800a2d4be65f6953429022a3547e4e69b255;hb=b85f79b8030114370851ed3422c078debe630570;hp=cbda937803a2d8c023324cf02e706a36e3e7854a;hpb=8cb3daaded0d8c80be801aa74493006b5a06999f;p=palacios.releases.git diff --git a/palacios/include/geekos/vmm_shadow_paging.h b/palacios/include/geekos/vmm_shadow_paging.h index cbda937..1817800 100644 --- a/palacios/include/geekos/vmm_shadow_paging.h +++ b/palacios/include/geekos/vmm_shadow_paging.h @@ -2,11 +2,13 @@ #define __VMM_SHADOW_PAGING_H -#include #include + +#include + struct shadow_page_state { // these two reflect the top-level page directory @@ -14,7 +16,7 @@ struct shadow_page_state { paging_mode_t guest_mode; reg_ex_t guest_cr3; // points to guest's current page table - // Should thi sbe here + // Should this be here?? reg_ex_t guest_cr0; // these two reflect the top-level page directory @@ -30,11 +32,9 @@ struct shadow_page_state { - - -#include struct guest_info; + int init_shadow_page_state(struct shadow_page_state * state); // This function will cause the shadow page table to be deleted