acrn-hypervisor/hypervisor/arch/x86/guest
Yonghua Huang 4fc5dcfc3e hv: enable SMAP in hypervisor
With SMAP enabled, hypervisor can't access pages that
owned by guest(either SOS or UOS), and an override is
is provided: stac()/clac() to enable/disable access to
guest's memory pages.

 Pre-conditon:
    Mark hypervisor owned pages as supervisor mode (U/S = 0),
       and set all othter memory pages as user mode (U/S = 1).

Tracked-On: #2056
Signed-off-by: Yonghua Huang <yonghua.huang@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com>
2018-12-14 15:24:26 +08:00
..
guest.c hv: enable SMAP in hypervisor 2018-12-14 15:24:26 +08:00
instr_emul.c hv: enable SMAP in hypervisor 2018-12-14 15:24:26 +08:00
instr_emul.h hv: use int32_t replace int 2018-12-12 13:08:10 +08:00
pm.c hv: use int32_t replace int 2018-12-12 13:08:10 +08:00
ucode.c hv: use int32_t replace int 2018-12-12 13:08:10 +08:00
vcpu.c modularization: clean up namings in vMTRR module 2018-12-14 09:43:06 +08:00
vcpuid.c modulization: move virtual cpuid stuff into guest dir 2018-12-13 09:08:02 +08:00
vlapic_priv.h hv: self-IPI APIC register in x2APIC mode of guest vLAPIC 2018-11-02 13:48:43 +08:00
vlapic.c hv: use int32_t replace int 2018-12-12 13:08:10 +08:00
vm.c hv: use int32_t replace int 2018-12-12 13:08:10 +08:00
vmcall.c hv: use int32_t replace int 2018-12-12 13:08:10 +08:00
vmsr.c modularization: clean up namings in vMTRR module 2018-12-14 09:43:06 +08:00
vmtrr.c modularization: clean up namings in vMTRR module 2018-12-14 09:43:06 +08:00