X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Finclude%2Fpalacios%2Fvmm_paging.h;h=a4f89748fc6330b5c386b633e6d3e22d6a08eb93;hb=4731ff7dc97e42853546b38b4d441d793e7a4ec8;hp=ff396858b30dbb811b7adbcfda6046b0277d9633;hpb=9b4bfeefac09294a6f0ae12dbadf102eb547f5ec;p=palacios.git diff --git a/palacios/include/palacios/vmm_paging.h b/palacios/include/palacios/vmm_paging.h index ff39685..a4f8974 100644 --- a/palacios/include/palacios/vmm_paging.h +++ b/palacios/include/palacios/vmm_paging.h @@ -92,7 +92,6 @@ the host state in the vmcs before entering the guest. - #define MAX_PDE32_ENTRIES 1024 #define MAX_PTE32_ENTRIES 1024 @@ -186,13 +185,6 @@ typedef enum {PAGE_4KB, PAGE_2MB, PAGE_4MB, PAGE_1GB, - -/* Page Table Flag Values */ -#define PT32_HOOK 0x1 -#define V3_LARGE_PG 0x2 - - - /* We'll use the general form for now.... typedef enum {PDE32_ENTRY_NOT_PRESENT, PDE32_ENTRY_PTE32, PDE32_ENTRY_LARGE_PAGE} pde32_entry_type_t; typedef enum {PTE32_ENTRY_NOT_PRESENT, PTE32_ENTRY_PAGE} pte32_entry_type_t; @@ -212,6 +204,9 @@ typedef enum {PT_ENTRY_NOT_PRESENT, PT_ENTRY_LARGE_PAGE, PT_ENTRY_PAGE} pt_entry typedef enum {PT_ACCESS_OK, PT_ACCESS_NOT_PRESENT, PT_ACCESS_WRITE_ERROR, PT_ACCESS_USER_ERROR} pt_access_status_t; +/* Page table flag values */ +#define V3_LARGE_PG 0x2 + typedef struct gen_pt { uint_t present : 1; @@ -576,7 +571,7 @@ pml4e64_t * create_passthrough_pts_64(struct guest_info * info); void delete_page_tables_32(pde32_t * pde); -void delete_page_tables_32PAE(pdpe32pae_t * pdpe); +void delete_page_tables_32pae(pdpe32pae_t * pdpe); void delete_page_tables_64(pml4e64_t * pml4);