mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-07 17:46:15 +00:00
HV: trusty: refine secure_world_control
Define Bitmap flag to indicate secure world's state:
supported: 0(not supported), 1(supported)
active: 0(inactive), 1(active)
Refine secure_world_memory:
base_gpa_in_sos: base_gpa from SOS's view
base_gpa_in_uos: base_gpa from UOS's view, this is the original base_gpa
allocated by bootloader.
Recording above GPA is for usage of trusty EPT destroy and re-create.
There is an assumption: the secure world's memory address is contiguous
in both SOS and physical side.
Signed-off-by: Qi Yadong <yadong.qi@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -167,8 +167,8 @@ struct vm_description {
|
||||
uint16_t *vm_pcpu_ids;
|
||||
unsigned char GUID[16]; /* GUID of the vm will be created */
|
||||
uint16_t vm_hw_num_cores; /* Number of virtual cores */
|
||||
/* Whether secure world is enabled for current VM. */
|
||||
bool sworld_enabled;
|
||||
/* Whether secure world is supported for current VM. */
|
||||
bool sworld_supported;
|
||||
#ifdef CONFIG_PARTITION_MODE
|
||||
uint8_t vm_id;
|
||||
struct mptable_info *mptable;
|
||||
|
||||
Reference in New Issue
Block a user