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:
Li Fei1
2021-03-09 11:11:07 +08:00
committed by wenlingz
parent 36ddd87a09
commit ef90bb6db3
3 changed files with 3 additions and 3 deletions

View File

@@ -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,