mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-21 08:50:27 +00:00
fix "ISO C99 does not support '_Static_assert'"
_Static_assert is supported in C11 standard. Please see N1570(C11 mannual) 6.4.1. replace _Static_assert with ASSERT. Signed-off-by: huihuang shi <huihuang.shi@intel.com>
This commit is contained in:
@@ -106,6 +106,15 @@ struct secure_world_control {
|
||||
struct secure_world_memory sworld_memory;
|
||||
};
|
||||
|
||||
struct trusty_startup_param {
|
||||
uint32_t size_of_this_struct;
|
||||
uint32_t mem_size;
|
||||
uint64_t tsc_per_ms;
|
||||
uint64_t trusty_mem_base;
|
||||
uint32_t reserved;
|
||||
uint8_t padding[4];
|
||||
};
|
||||
|
||||
void switch_world(struct vcpu *vcpu, int next_world);
|
||||
bool initialize_trusty(struct vcpu *vcpu, uint64_t param);
|
||||
void destroy_secure_world(struct vm *vm);
|
||||
|
Reference in New Issue
Block a user