acrn-hypervisor/hypervisor/arch/x86
Victor Sun 901a65cb53 HV: inject exception for invalid vmcall
For non-trusty hypercalls, HV should inject #GP(0) to vCPU if they are
from non-ring0 or inject #UD if they are from ring0 of non-SOS. Also
we should not modify RAX of vCPU for these invalid vmcalls.

Tracked-On: #3497

Signed-off-by: Victor Sun <victor.sun@intel.com>
2019-08-01 16:07:57 +08:00
..
boot hv:remove some unnecessary includes 2019-05-07 09:10:13 +08:00
configs HV: correct CONFIG_BOARD string of apl up2 2019-07-30 09:50:10 +08:00
guest HV: inject exception for invalid vmcall 2019-08-01 16:07:57 +08:00
lib hv: move 3 files to lib & arch folder 2019-06-14 14:22:51 +08:00
seed HV: fix violations touched type conversion 2019-07-11 09:16:09 +08:00
Kconfig HV: add SDC2 config in hypervisor/arch/x86/Kconfig 2019-07-18 15:03:14 +08:00
cat.c hv:remove some unnecessary includes 2019-05-07 09:10:13 +08:00
cpu.c HV: Remove the mixed usage of inline assembly in wait_sync_change 2019-07-26 10:55:58 +08:00
cpu_caps.c hv: debug: use printf to debug on early boot 2019-07-26 09:10:06 +08:00
cpu_state_tbl.c HV: add board specific cpu state table to support Px Cx 2019-07-29 20:25:16 +08:00
e820.c hv: cleanup some hva/hpa conversion code 2019-03-15 09:03:14 +08:00
gdt.c hv:cleanup header files for arch folder 2019-02-22 13:14:36 +08:00
idt.S move idt.S and idt.h out of boot component 2018-12-12 09:07:43 +08:00
init.c HV: change param type of init_pcpu_pre 2019-07-17 13:48:00 +08:00
ioapic.c HV: fix violations touched type conversion 2019-07-11 09:16:09 +08:00
irq.c softirq: move softirq from hv_main to interrupt context 2019-07-22 09:55:06 +08:00
lapic.c hv: fix some potential array overflow risk 2019-07-12 09:41:15 +08:00
mmu.c hv: debug: use printf to debug on early boot 2019-07-26 09:10:06 +08:00
notify.c hv: fix some potential array overflow risk 2019-07-12 09:41:15 +08:00
page.c hv:cleanup header files for arch folder 2019-02-22 13:14:36 +08:00
pagetable.c hv:cleanup header files for arch folder 2019-02-22 13:14:36 +08:00
pm.c HV: remove some redundant includes 2019-05-08 16:57:46 +08:00
sched.S replace arch_switch_to with pure asm code instead of inline asm 2019-01-25 11:39:47 +08:00
security.c HV: check security mitigation support for SSBD 2019-07-10 10:55:34 +08:00
sgx.c hv: sgx: add basic support to init sgx resource for vm 2019-05-29 11:24:13 +08:00
timer.c softirq: disable interrupt when modify timer_list 2019-08-01 15:45:02 +08:00
trampoline.c hv: delay enabling SMEP/SMAP until the end of PCPU initialization 2019-06-10 11:35:15 +08:00
vmx.c hv:fix "no prototype for non-static function" 2019-07-09 10:36:03 +08:00
vtd.c HV:fix simple violations 2019-06-25 20:09:21 +08:00
wakeup.S hv:remove some unnecessary includes 2019-05-07 09:10:13 +08:00