hv: Rename get_ept_entry() to get_eptp()

get_ept_entry() actually returns the EPTP of a VM. So rename it to
get_eptp() for readability.

Tracked-On: #5923
Signed-off-by: Shuo A Liu <shuo.a.liu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
Shuo A Liu
2021-06-04 09:35:17 +08:00
committed by wenlingz
parent ad7b8fa3e8
commit 387ea23961
4 changed files with 6 additions and 6 deletions

View File

@@ -140,7 +140,7 @@ void ept_flush_leaf_page(uint64_t *pge, uint64_t size);
* @retval If the current context of vm is SECURE_WORLD, return EPT pointer of
* secure world, otherwise return EPT pointer of normal world.
*/
void *get_ept_entry(struct acrn_vm *vm);
void *get_eptp(struct acrn_vm *vm);
/**
* @brief Walking through EPT table