mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-21 08:50:27 +00:00
mmu: refine functions get_table_entry & obtain_last_page_table_entry
- remove unused map_params in get_table_entry - add error return for both, which is valid under release version, as at that time, ASSERT in get_table_entry is empty. Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -326,7 +326,7 @@ int modify_mem(struct map_params *map_params, void *paddr, void *vaddr,
|
||||
uint64_t size, uint32_t flags);
|
||||
void mmu_invept(struct vcpu *vcpu);
|
||||
bool check_continuous_hpa(struct vm *vm, uint64_t gpa, uint64_t size);
|
||||
void obtain_last_page_table_entry(struct map_params *map_params,
|
||||
int obtain_last_page_table_entry(struct map_params *map_params,
|
||||
struct entry_params *entry, void *addr, bool direct);
|
||||
|
||||
int register_mmio_emulation_handler(struct vm *vm,
|
||||
|
Reference in New Issue
Block a user