acrn-hypervisor/hypervisor/include/arch/x86/guest
Jie Deng 977e862192 hv: Add split-lock emulation for xchg
xchg may also cause the #AC for split-lock check.
This patch adds this emulation.

 1. Kick other vcpus of the guest to stop execution
    if the guest has more than one vcpu.

 2. Emulate the xchg instruction.

 3. Notify other vcpus (if any) to restart execution.

Tracked-On: #5605
Signed-off-by: Jie Deng <jie.deng@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2020-12-31 11:12:33 +08:00
..
assign.h hv: add INTx mapping for pre-launched VMs 2020-09-07 14:52:02 +08:00
ept.h doc: fix doxygen 1.8.17 issues 2020-10-29 08:25:01 -07:00
guest_memory.h hv: Add split-lock emulation for xchg 2020-12-31 11:12:33 +08:00
guest_pm.h hv:Wrap some APIs related with guest pm 2019-10-21 10:13:02 +08:00
hyperv.h hv: support reference time enlightenment 2019-10-22 10:09:16 +08:00
instr_emul.h hv: Add split-lock emulation for xchg 2020-12-31 11:12:33 +08:00
trusty.h hv: seed: refine header file 2019-03-15 14:09:56 +08:00
ucode.h HV:treewide:rename vcpu data structure 2018-11-05 15:35:49 +08:00
vcpu.h hv: Add split-lock emulation for LOCK prefix instruction 2020-12-31 11:12:33 +08:00
vcpuid.h HV: return extended info in vCPUID leaf 0x40000001 2019-07-31 14:13:39 +08:00
virtual_cr.h hv: refine virtualization flow for cr0 and cr4 2020-12-18 11:21:22 +08:00
vlapic.h hv: refine msi interrupt injection functions 2020-10-26 08:44:13 +08:00
vm_reset.h hv:move some APIs related host reset to pm.c 2019-08-22 14:09:18 +08:00
vm.h hv: pm: avoid duplicate shutdowns on RTVM 2020-11-11 14:05:39 +08:00
vmcs.h hv: bugfix for debug commands with smp_call 2019-12-05 11:19:35 +08:00
vmexit.h hv: refine guest.h 2019-02-03 13:00:42 +08:00
vmtrr.h hv: vmtrr: remove vcpu structure pointer from vmtrr 2020-03-31 10:57:47 +08:00
vmx_io.h hv: add support for shutdown for pre-launched VMs 2020-11-04 10:33:31 +08:00