Home
last modified time | relevance | path

Searched refs:gpa (Results 1 – 3 of 3) sorted by relevance

/DragonOS/kernel/src/arch/x86_64/kvm/vmx/
H A Dmmu.rs57 fn(vcpu: &mut VmxVcpu, gpa: u64, error_code: u32, prefault: bool) -> Result<(), SystemError>;
104 gpa: u64, in tdp_page_fault()
109 let gfn = gpa >> PAGE_SHIFT; // 物理地址右移12位得到物理页框号(相对于虚拟机而言) in tdp_page_fault()
119 let pfn = mmu_gfn_to_pfn_fast(vcpu, gpa, prefault, gfn, write == 0, &mut map_writable)?; in tdp_page_fault()
121 __direct_map(vcpu, gpa, write, map_writable, level, gfn, pfn, prefault)?; in tdp_page_fault()
206 gpa: u64, in __direct_map()
214 debug!("gpa={}, pfn={}, root_hpa={:x}", gpa, pfn, vcpu.mmu.root_hpa); in __direct_map()
223 assert!(ept_mapper.walk(gpa, pfn << PAGE_SHIFT, page_flags).is_ok()); in __direct_map()
H A Dept.rs93 gpa: u64, in walk()
102 VirtAddr::new(gpa as usize), in walk()
H A Dvmexit.rs231 let gpa = vmx_vmread(GUEST_PHYSICAL_ADDR_FULL).unwrap(); in vmexit_handler() localVariable
244 kvm_ept_page_fault(&mut vcpu.lock(), gpa, error_code as u32, false) in vmexit_handler()