mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-01 08:56:55 +00:00
add create secure world ept API
This patch is prepared for enabling secure world feature. this api will create new eptp for secure world, whose PDPT entries are copied form normal world,the PML4/PDPT for secure world are separated from Normal World, PD/PT are shared in the Secure World's EPT and Normal World's EPT.Secure world can access Normal World's memory, but Normal World can not access Secure World's memory This function implemented: -- Unmap specific memory from guest ept mapping -- Copy PDPT from Normal world to Secure world -- Map specific memory for Secure world -- Unmap specific memory from SOS ept mapping Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com>
This commit is contained in:
@@ -110,6 +110,7 @@ C_SRCS += arch/x86/interrupt.c
|
||||
C_SRCS += arch/x86/vmexit.c
|
||||
C_SRCS += arch/x86/vmx.c
|
||||
C_SRCS += arch/x86/assign.c
|
||||
C_SRCS += arch/x86/trusty.c
|
||||
C_SRCS += arch/x86/guest/vcpu.c
|
||||
C_SRCS += arch/x86/guest/vm.c
|
||||
C_SRCS += arch/x86/guest/instr_emul_wrapper.c
|
||||
|
Reference in New Issue
Block a user