mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-13 21:09:54 +00:00
HV: trusty: revise trusty_boot_param structure
Per new design of trusty memory allocation: VHM will reserve contiguous memory for trusty when DM launch guest with trusty enabled. And OSloader will relocate trusty to 511G directly and pass trusty's base/entry to HV by trusty_boot_param when call HC_INIITIALIZE_TRUSTY. So in this patch: 1. Extend trusty_boot_param to support addr/entry above 4G. 2. Remove size check for old version compatibility. Signed-off-by: Qi Yadong <yadong.qi@intel.com> Acked-by: Zhu Bing <bing.zhu@intel.com>
This commit is contained in:
@@ -260,6 +260,12 @@ struct trusty_boot_param {
|
||||
/** padding */
|
||||
uint32_t padding;
|
||||
|
||||
/** trusty runtime memory base address (high 32bit) */
|
||||
uint32_t base_addr_high;
|
||||
|
||||
/** trusty entry point (high 32bit) */
|
||||
uint32_t entry_point_high;
|
||||
|
||||
/** rpmb key */
|
||||
uint8_t rpmb_key[64];
|
||||
} __aligned(8);
|
||||
|
Reference in New Issue
Block a user