X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Finclude%2Fpalacios%2Fvmm_paging.h;h=4f747dfbffbf459ce1b3d4f1c0a6b50eb870086d;hb=ddd9b6c1a6d0051ba8eae32d25492145c8ca5995;hp=7c472d776e716bde175eaaa8a4b2d186ed1ebc90;hpb=a71d13e84ccd2ea959299c7f01513e6f9e593b7d;p=palacios.git diff --git a/palacios/include/palacios/vmm_paging.h b/palacios/include/palacios/vmm_paging.h index 7c472d7..4f747df 100644 --- a/palacios/include/palacios/vmm_paging.h +++ b/palacios/include/palacios/vmm_paging.h @@ -512,11 +512,21 @@ pt_access_status_t inline v3_can_access_pte32pae(pte32pae_t * pte, addr_t addr, pt_access_status_t inline v3_can_access_pml4e64(pml4e64_t * pmle, addr_t addr, pf_error_t access_type); pt_access_status_t inline v3_can_access_pdpe64(pdpe64_t * pdpe, addr_t addr, pf_error_t access_type); pt_access_status_t inline v3_can_access_pde64(pde64_t * pde, addr_t addr, pf_error_t access_type); -pt_access_status_t inline v3_can_access_pte32(pte32_t * pte, addr_t addr, pf_error_t access_type); - - - - +pt_access_status_t inline v3_can_access_pte64(pte64_t * pte, addr_t addr, pf_error_t access_type); + + +int v3_check_host_pt_32(v3_reg_t host_cr3, addr_t vaddr, + pf_error_t access_type, pt_access_status_t * access_status); +int v3_check_host_pt_32pae(v3_reg_t host_cr3, addr_t vaddr, + pf_error_t access_type, pt_access_status_t * access_status); +int v3_check_host_pt_64(v3_reg_t host_cr3, addr_t vaddr, + pf_error_t access_type, pt_access_status_t * access_status); +int v3_check_guest_pt_32(struct guest_info * info, v3_reg_t guest_cr3, addr_t vaddr, + pf_error_t access_type, pt_access_status_t * access_status); +int v3_check_guest_pt_32pae(struct guest_info * info, v3_reg_t guest_cr3, addr_t vaddr, + pf_error_t access_type, pt_access_status_t * access_status); +int v3_check_guest_pt_64(struct guest_info * info, v3_reg_t guest_cr3, addr_t vaddr, + pf_error_t access_type, pt_access_status_t * access_status); struct guest_info;