mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-10 13:19:31 +00:00
add data structure in vm for enable trusty feature
add key info structure add sworld_eptp in vm structure, and rename ept->nworld_eptp add secure world control structure Change-Id: Tracked-On:220921 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com>
This commit is contained in:
@@ -63,6 +63,9 @@
|
||||
#define REQUEST_READ 0
|
||||
#define REQUEST_WRITE 1
|
||||
|
||||
/* Generic VM flags from guest OS */
|
||||
#define SECURE_WORLD_ENABLED (1<<0) /* Whether secure world is enabled */
|
||||
|
||||
/**
|
||||
* @brief Hypercall
|
||||
*
|
||||
@@ -148,11 +151,13 @@ struct acrn_create_vm {
|
||||
/** the GUID of this VM */
|
||||
uint8_t GUID[16];
|
||||
|
||||
/** whether Secure World is enabled for this VM */
|
||||
uint8_t secure_world_enabled;
|
||||
/* VM flag bits from Guest OS, now used
|
||||
* SECURE_WORLD_ENABLED (1<<0)
|
||||
*/
|
||||
uint64_t vm_flag;
|
||||
|
||||
/** Reserved for future use*/
|
||||
uint8_t reserved[31];
|
||||
uint8_t reserved[24];
|
||||
} __aligned(8);
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user