mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-24 02:08:04 +00:00
hv: ept: add lookup_address to lookup the page table
Add lookup_address to lokup the page table for a virtual address of primary page table or a physical address of extended page table. The remaining obtain_last_page_table_entry could be removed with their called function later. Signed-off-by: Li, Fei1 <fei1.li@intel.com>
This commit is contained in:
@@ -339,6 +339,8 @@ void invept(struct vcpu *vcpu);
|
||||
bool check_continuous_hpa(struct vm *vm, uint64_t gpa_arg, uint64_t size_arg);
|
||||
int obtain_last_page_table_entry(struct map_params *map_params,
|
||||
struct entry_params *entry, void *addr, bool direct);
|
||||
uint64_t *lookup_address(uint64_t *pml4_page, uint64_t addr,
|
||||
uint64_t *pg_size, enum _page_table_type ptt);
|
||||
|
||||
int register_mmio_emulation_handler(struct vm *vm,
|
||||
hv_mem_io_handler_t read_write, uint64_t start,
|
||||
|
Reference in New Issue
Block a user