acrn-hypervisor/hypervisor/arch/x86/guest
Jason Chen CJ 8a95b2abdc vcpu: add ext context support for world switch
move most of fields from run_context into ext_context for world switch.
these fields do not need doing runtime save/restore during vm exit/entry.

v3:
- update cr0/cr4 registers switch method

v2:
- use struct name ext_context instead of saved_context
- updated according to previous v2 patch

Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2018-08-07 09:55:13 +08:00
..
guest.c vcpu: add get/set register APIs 2018-08-07 09:55:13 +08:00
instr_emul.c vcpu: add get/set register APIs 2018-08-07 09:55:13 +08:00
instr_emul.h hv: treewide: fix 'Prototype and definition name mismatch' 2018-08-06 16:04:40 +08:00
instr_emul_wrapper.c vcpu: add get/set register APIs 2018-08-07 09:55:13 +08:00
instr_emul_wrapper.h vcpu: add get/set register APIs 2018-08-07 09:55:13 +08:00
mptable.c HV: Adding mptable support for partition mode ACRN 2018-08-03 13:36:40 +08:00
pm.c hv:cleanup vmid related code 2018-08-06 12:27:53 +08:00
ucode.c HV: Bracket for the same level of precendence 2018-07-24 10:10:39 +08:00
vcpu.c vcpu: add ext context support for world switch 2018-08-07 09:55:13 +08:00
vioapic.c hv: vioapic: set remote IRR to zero once trigger mode switch to edge 2018-08-06 12:32:35 +08:00
vlapic.c vcpu: add get/set register APIs 2018-08-07 09:55:13 +08:00
vlapic_priv.h HV:VLAPIC:add suffix "_fn" for function pointer 2018-07-31 10:33:22 +08:00
vm.c hv:cleanup vmid related code 2018-08-06 12:27:53 +08:00
vmcall.c vcpu: add get/set register APIs 2018-08-07 09:55:13 +08:00
vmsr.c vcpu: add get/set register APIs 2018-08-07 09:55:13 +08:00
vpic.c hv:cleanup vmid related code 2018-08-06 12:27:53 +08:00