acrn-hypervisor/hypervisor/arch/x86/guest
Mingqiang Chi e5be957945 hv:add destroy Secure world API
This patch added API destroy_secure_world, which will do:
-- clear trusty memory space
-- restore memory to SOS ept mapping
It will be called when VM is destroyed, furthermore, ept of
Secure world will be destroyed as well.

Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com>
Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com>
Reviewed-by: Anthony Xu <anthony.xu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2018-05-15 17:25:24 +08:00
..
guest.c vm load: fix bug in loading kernel 2018-05-15 17:19:37 +08:00
instr_emul_wrapper.c initial import 2018-05-11 14:44:28 +08:00
instr_emul_wrapper.h hv: microcode: Enable microcode update from SOS. 2018-05-15 17:19:37 +08:00
instr_emul.c initial import 2018-05-11 14:44:28 +08:00
instr_emul.h initial import 2018-05-11 14:44:28 +08:00
time.h initial import 2018-05-11 14:44:28 +08:00
ucode.c cpuid restruct 2018-05-15 17:19:38 +08:00
vcpu.c initial import 2018-05-11 14:44:28 +08:00
vioapic.c initial import 2018-05-11 14:44:28 +08:00
vlapic_priv.h initial import 2018-05-11 14:44:28 +08:00
vlapic.c enable TSC-offset & add TSC MSR emulation 2018-05-15 17:25:23 +08:00
vm.c hv:add destroy Secure world API 2018-05-15 17:25:24 +08:00
vmcall.c trusty: implement hypercall to initialize trusty 2018-05-15 17:19:39 +08:00
vmsr.c add vmx msr ops protection from guest OS 2018-05-15 17:25:24 +08:00
vpic.c vpic: use calloc to init vpic instead of malloc 2018-05-15 17:19:36 +08:00