X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Finclude%2Fpalacios%2Fvmm_shadow_paging.h;fp=palacios%2Finclude%2Fpalacios%2Fvmm_shadow_paging.h;h=bea54aa68909ca117cdcd02a79c9262d3baab6a5;hb=9526410ca7474542623aa2e74b2ce001dd7ec55e;hp=962803df2227d8a63e77ac508111bf9e3ae1bb1e;hpb=049dfcba7fba091a2e4a6f637fe4ce5508148d8a;p=palacios.git diff --git a/palacios/include/palacios/vmm_shadow_paging.h b/palacios/include/palacios/vmm_shadow_paging.h index 962803d..bea54aa 100644 --- a/palacios/include/palacios/vmm_shadow_paging.h +++ b/palacios/include/palacios/vmm_shadow_paging.h @@ -34,13 +34,16 @@ struct shadow_page_state { v3_reg_t guest_cr3; v3_reg_t guest_cr0; - // these two reflect the top-level page directory - // of the shadow page table - // v3_reg_t shadow_cr3; - // Hash table that ties a CR3 value to a hash table pointer for the PT entries + + // Page table struct lookup table + struct hashtable * pt_cache; + + // Guest CR3 to Shadow CR3 Lookup Table struct hashtable * cr3_cache; + + /* SOON TO BE DEPRECATED */ // Hash table that contains a mapping of guest pte addresses to host pte addresses struct hashtable * cached_ptes; addr_t cached_cr3;