acrn-hypervisor/hypervisor/common
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
..
hv_main.c profiling: split profiling_vmexit_handler into two functions 2018-12-14 08:54:30 +08:00
hypercall.c hv: enable SMAP in hypervisor 2018-12-14 15:24:26 +08:00
io_request.c hv: enable SMAP in hypervisor 2018-12-14 15:24:26 +08:00
ptdev.c hv:Rename ptdev to ptirq for some APIs 2018-11-30 13:27:49 +08:00
schedule.c hv: use int32_t replace int 2018-12-12 13:08:10 +08:00
softirq.c hv: remove the theoretic infinite loop 2018-12-05 13:17:38 +08:00
stack_protector.c HV:common:fix "expression is not Boolean" 2018-06-20 14:19:47 +08:00
static_checks.c hv: use int32_t replace int 2018-12-12 13:08:10 +08:00
trusty_hypercall.c hv: fix integer violations 2018-11-14 12:46:34 +08:00
vm_load.c hv: enable SMAP in hypervisor 2018-12-14 15:24:26 +08:00