X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fpalacios%2Fvmm_paging.c;h=85c8d9e4461bd5f55c908b0597c32a485a95b1a9;hb=3a47eb153e415d718e5d5601b79767b7335a149f;hp=1a7dc7b8204c21ae8300911589fc14d564d7485c;hpb=bce4e326ef3e3e9f9a0bd2fd06254c0d8edb8437;p=palacios.git diff --git a/palacios/src/palacios/vmm_paging.c b/palacios/src/palacios/vmm_paging.c index 1a7dc7b..85c8d9e 100644 --- a/palacios/src/palacios/vmm_paging.c +++ b/palacios/src/palacios/vmm_paging.c @@ -644,7 +644,7 @@ pt_access_status_t inline v3_can_access_pdpe64(pdpe64_t * pdpe, addr_t addr, pf_ } pt_access_status_t inline v3_can_access_pde64(pde64_t * pde, addr_t addr, pf_error_t access_type) { - gen_pt_t * entry = (gen_pt_t *)&pde[PDE32_INDEX(addr)]; + gen_pt_t * entry = (gen_pt_t *)&pde[PDE64_INDEX(addr)]; return can_access_pt_entry(entry, access_type); }