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:
Li, Fei1
2018-11-28 22:32:52 +08:00
committed by wenlingz
parent bd1c0838d1
commit a0582c99cf
5 changed files with 0 additions and 66 deletions

View File

@@ -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)
*/

View File

@@ -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 */