X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Finclude%2Fpalacios%2Fvmm_paging.h;h=94e034bbbef4c2034f0994c83b06424bfcddd017;hb=f9bb3db89469169bb5775dc031d89e570c6fed70;hp=2663b2c7517efc8874e199ea3e537b6a30e59748;hpb=b07ca7a7edd31d34a8dc613e3d208bbeedd44661;p=palacios.git diff --git a/palacios/include/palacios/vmm_paging.h b/palacios/include/palacios/vmm_paging.h index 2663b2c..94e034b 100644 --- a/palacios/include/palacios/vmm_paging.h +++ b/palacios/include/palacios/vmm_paging.h @@ -1,3 +1,6 @@ +/* Northwestern University */ +/* (c) 2008, Jack Lange */ + #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