mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-07 17:46:15 +00:00
hv:change function parameter for invept
change the input parameter from vcpu to eptp in order to let this api more generic, no need to care normal world or secure world. Tracked-On: #1842 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com> Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com>
This commit is contained in:
committed by
ACRN System Integration
parent
1547a4cb27
commit
cd40980d5f
@@ -186,7 +186,7 @@ static inline void *hpa2hva(uint64_t x)
|
||||
*
|
||||
* @return The translated host-physical address
|
||||
*/
|
||||
static inline uint64_t hva2hpa(void *x)
|
||||
static inline uint64_t hva2hpa(const void *x)
|
||||
{
|
||||
return (uint64_t)x;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user