mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-10-11 15:43:41 +00:00
hv: trusty: refine trusty memory region mapping
Now it's using the memory reserve by hypervisor. So there's not necessaty to map or ummap this region from SOS. Tracked-On: #1942 Signed-off-by: Li, Fei1 <fei1.li@intel.com>
This commit is contained in:
@@ -150,17 +150,6 @@ void flush_vpid_global(void);
|
||||
* @return None
|
||||
*/
|
||||
void invept(const struct acrn_vcpu *vcpu);
|
||||
/**
|
||||
* @brief Host-physical address continous checking
|
||||
*
|
||||
* @param[in] vm the pointer that points the VM data structure
|
||||
* @param[in] gpa_arg the start GPA address of the guest memory region
|
||||
* @param[in] size_arg the size of the guest memory region
|
||||
*
|
||||
* @retval true The HPA of the guest memory region is continuous
|
||||
* @retval false The HPA of the guest memory region is non-continuous
|
||||
*/
|
||||
bool check_continuous_hpa(struct acrn_vm *vm, uint64_t gpa_arg, uint64_t size_arg);
|
||||
/**
|
||||
*@pre (pml4_page != NULL) && (pg_size != NULL)
|
||||
*/
|
||||
|
@@ -94,8 +94,6 @@ struct trusty_key_info {
|
||||
};
|
||||
|
||||
struct secure_world_memory {
|
||||
/* The secure world base address of GPA in SOS */
|
||||
uint64_t base_gpa_in_sos;
|
||||
/* The original secure world base address allocated by bootloader */
|
||||
uint64_t base_gpa_in_uos;
|
||||
/* The secure world base address of HPA */
|
||||
|
Reference in New Issue
Block a user