X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Finclude%2Fpalacios%2Fvmm_paging.h;h=e11a4521355950f0f7253aa63cd83c0cb2a6d500;hb=6eecf583b522147ef13faabb634562f6f23bb712;hp=2663b2c7517efc8874e199ea3e537b6a30e59748;hpb=b07ca7a7edd31d34a8dc613e3d208bbeedd44661;p=palacios.releases.git diff --git a/palacios/include/palacios/vmm_paging.h b/palacios/include/palacios/vmm_paging.h index 2663b2c..e11a452 100644 --- a/palacios/include/palacios/vmm_paging.h +++ b/palacios/include/palacios/vmm_paging.h @@ -1,3 +1,6 @@ +/* (c) 2008, Jack Lange */ +/* (c) 2008, The V3VEE Project */ + #ifndef __VMM_PAGING_H #define __VMM_PAGING_H @@ -112,6 +115,8 @@ the host state in the vmcs before entering the guest. #define CR3_TO_PML4E64(cr3) (((ullong_t)cr3) & 0x000ffffffffff000LL) + + /* Accessor functions for the page table structures */ #define PDE32_T_ADDR(x) (((x).pt_base_addr) << 12) #define PTE32_T_ADDR(x) (((x).page_base_addr) << 12) @@ -119,6 +124,7 @@ the host state in the vmcs before entering the guest. /* Page Table Flag Values */ #define PT32_HOOK 0x1 +#define PT32_GUEST_PT 0x2 #endif