acrn-hypervisor/arch/x86
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 hv:add destroy Secure world API 2018-04-06 12:32:44 +08:00
assign.c ptdev: fix ptdev_hv_owned_intx under release version 2018-03-28 16:05:51 +08:00
cpu_primary.S UEFI: change the efi_ctx passing method 2018-03-30 19:48:46 +08:00
cpu_secondary.S initial import 2018-03-07 21:05:38 +08:00
cpu.c hv: cpu: use the physical address limit from CPUID when available 2018-04-04 10:52:12 +08:00
cpuid.c hv: pass-through xsave feature to guests 2018-04-03 17:50:27 +08:00
ept.c hv:add destroy Secure world API 2018-04-06 12:32:44 +08:00
gdt.c initial import 2018-03-07 21:05:38 +08:00
idt.S initial import 2018-03-07 21:05:38 +08:00
interrupt.c hv:enable APICv features based on CPU capability 2018-03-21 15:34:25 -07:00
intr_lapic.c hv: lapic: export write_lapic_reg32 2018-03-28 10:46:32 +08:00
intr_main.c uefi: init vlapic according to native lapic 2018-03-21 12:14:01 +08:00
io.c io: remove pio emulation restriction 2018-03-29 14:54:23 +08:00
ioapic.c initial import 2018-03-07 21:05:38 +08:00
irq.c uefi: remove old interrupt injection method 2018-03-21 12:14:01 +08:00
mmu.c hv: free ept memory enhancement 2018-04-04 11:54:52 +08:00
notify.c initial import 2018-03-07 21:05:38 +08:00
retpoline-thunk.S retpoline: add indirect thunk support 2018-03-15 16:25:53 +08:00
softirq.c initial import 2018-03-07 21:05:38 +08:00
timer.c hv: lapic: export write_lapic_reg32 2018-03-28 10:46:32 +08:00
trusty.c hv:add destroy Secure world API 2018-04-06 12:32:44 +08:00
vmexit.c hv: pass-through xsave feature to guests 2018-04-03 17:50:27 +08:00
vmx_asm.S Jmp to vm_exit directly to avoid calling vmlaunch again if vm-entry fails in vmresume 2018-03-20 14:36:41 +08:00
vmx.c enable TSC-offset & add TSC MSR emulation 2018-04-04 10:23:03 +08:00
vtd.c Rename TIME_MS_DELTA to CYCLES_PER_MS 2018-03-29 14:54:23 +08:00