acrn-hypervisor/hypervisor/debug
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
..
Makefile hv: enhance Makefile to compile debug/release into 2 libraries 2018-11-23 08:47:34 +08:00
console.c hv: clean up function definitions in console.h 2018-11-28 14:57:49 +08:00
dump.c modularization: hypervisor initilization component 2018-12-14 08:56:15 +08:00
hypercall.c hv: hypercall: clean up HV_DEBUG usage 2018-11-20 10:01:50 +08:00
logmsg.c hv: use uint32_t replace "unsigned int" 2018-12-12 13:08:10 +08:00
npk_log.c hv: use int32_t replace int 2018-12-12 13:08:10 +08:00
printf.c fix "Casting operation to a pointer" 2018-11-06 13:37:33 +08:00
profiling.c profiling: split profiling_vmexit_handler into two functions 2018-12-14 08:54:30 +08:00
sbuf.c hv: enable SMAP in hypervisor 2018-12-14 15:24:26 +08:00
shell.c hv: replace strcpy_s with strncpy_s 2018-12-13 09:08:32 +08:00
shell_priv.h hv: use int32_t replace int 2018-12-12 13:08:10 +08:00
trace.c hv: clean up function definitions in trace.h 2018-11-28 14:57:49 +08:00
uart16550.c hv: enable SMAP in hypervisor 2018-12-14 15:24:26 +08:00
uart16550.h hv: fix integer violations 2018-11-02 11:05:32 +08:00
vuart.c HV: Add vuart port base address/IRQ Kconfig options 2018-11-16 10:24:48 +08:00