X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=blobdiff_plain;f=palacios%2Finclude%2Fpalacios%2Fvmm_paging.h;h=c3b235ebfb9630cfc465054fe50629d253f2c21f;hp=5cbdbd3e7a8d6c6629e9efcc4cb9e220e00a2c80;hb=639fdba00d36b2a60fad3d28703459354cf8744f;hpb=d16ef42bba84c7fe88352e5dc23e5e70a5207e29 diff --git a/palacios/include/palacios/vmm_paging.h b/palacios/include/palacios/vmm_paging.h index 5cbdbd3..c3b235e 100644 --- a/palacios/include/palacios/vmm_paging.h +++ b/palacios/include/palacios/vmm_paging.h @@ -112,8 +112,8 @@ the host state in the vmcs before entering the guest. /* 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) +#define PDE32_T_ADDR(x) (((x).pt_base_addr) << 12) +#define PTE32_T_ADDR(x) (((x).page_base_addr) << 12) #endif