X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Finclude%2Fpalacios%2Fvmm_paging.h;h=93059e1785ba595292638b69985d7491e516c15e;hb=0899a5c74318e582f3d6ebec52cc744cdb727734;hp=5351b3693ea19237bc038caaa3f5a1f37eb4a75a;hpb=7cdedeb7a01b51c5242cce94924f2ea246008e7d;p=palacios.git diff --git a/palacios/include/palacios/vmm_paging.h b/palacios/include/palacios/vmm_paging.h index 5351b36..93059e1 100644 --- a/palacios/include/palacios/vmm_paging.h +++ b/palacios/include/palacios/vmm_paging.h @@ -18,8 +18,8 @@ */ -#ifndef __VMM_PAGING_H -#define __VMM_PAGING_H +#ifndef __VMM_PAGING_H__ +#define __VMM_PAGING_H__ #ifdef __V3VEE__ @@ -146,7 +146,7 @@ the host state in the vmcs before entering the guest. #define PT32_GUEST_PT 0x2 -#endif + /* PDE 32 bit PAGE STRUCTURES */ typedef enum {PDE32_ENTRY_NOT_PRESENT, PDE32_ENTRY_PTE32, PDE32_ENTRY_LARGE_PAGE} pde32_entry_type_t; @@ -284,8 +284,6 @@ typedef struct pf_error_code { uint_t rsvd : 27; } pf_error_t; -typedef enum { PDE32 } paging_mode_t; - @@ -320,7 +318,6 @@ pde32_t * create_passthrough_pde32_pts(struct guest_info * guest_info); void PrintDebugPageTables(pde32_t * pde); -#ifdef __V3VEE__ void PrintPT32(addr_t starting_address, pte32_t * pte);