acrn-hypervisor/arch/x86/guest
Mingqiang Chi 42a7147cec 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-04-06 12:32:44 +08:00
..
guest.c vm load: fix bug in loading kernel 2018-03-20 15:52:53 +08:00
instr_emul_wrapper.c initial import 2018-03-07 21:05:38 +08:00
instr_emul_wrapper.h hv: microcode: Enable microcode update from SOS. 2018-03-23 08:04:07 +00:00
instr_emul.c initial import 2018-03-07 21:05:38 +08:00
instr_emul.h initial import 2018-03-07 21:05:38 +08:00
time.h initial import 2018-03-07 21:05:38 +08:00
ucode.c cpuid restruct 2018-03-23 13:41:35 -07:00
vcpu.c initial import 2018-03-07 21:05:38 +08:00
vioapic.c initial import 2018-03-07 21:05:38 +08:00
vlapic_priv.h initial import 2018-03-07 21:05:38 +08:00
vlapic.c enable TSC-offset & add TSC MSR emulation 2018-04-04 10:23:03 +08:00
vm.c hv:add destroy Secure world API 2018-04-06 12:32:44 +08:00
vmcall.c trusty: implement hypercall to initialize trusty 2018-03-29 14:54:23 +08:00
vmsr.c add vmx msr ops protection from guest OS 2018-04-04 15:38:27 +08:00
vpic.c vpic: use calloc to init vpic instead of malloc 2018-03-15 16:25:53 +08:00