mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-24 02:08:04 +00:00
hv:pgtable: rename lookup_address to pgtable_lookup_entry
lookup_address is used to lookup a pagetable entry by an address. So rename it to pgtable_lookup_entry to indicate this clearly. Tracked-On: #5830 Signed-off-by: Li Fei1 <fei1.li@intel.com> Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com>
This commit is contained in:
@@ -310,7 +310,7 @@ void *pgtable_create_trusty_root(const struct pgtable *table,
|
||||
/**
|
||||
*@pre (pml4_page != NULL) && (pg_size != NULL)
|
||||
*/
|
||||
const uint64_t *lookup_address(uint64_t *pml4_page, uint64_t addr,
|
||||
const uint64_t *pgtable_lookup_entry(uint64_t *pml4_page, uint64_t addr,
|
||||
uint64_t *pg_size, const struct pgtable *table);
|
||||
|
||||
void pgtable_add_map(uint64_t *pml4_page, uint64_t paddr_base,
|
||||
|
Reference in New Issue
Block a user