acrn-hypervisor/hypervisor/include
Yonghua Huang 4d13ad9d08 hv: enable NX in hypervisor
- enable NX feature in hypervisor:
  1. Set 'XD' bit for all pages, including pages for guests
     when initialize MMU tables in hypervisor.
  2. remove 'XD' bit for pages that contain hypervisor instructions.
  3. enable MSR EFER.NXE,which will enable page access restriction by
     preventing instruction fetches form pages with XD bit set.

- remove "-Wl -z noexecstack" GCC flag option in hypervisor
  Makefile as it would not affect stack attribute in hyervisor,
  which setup stack itself, instead of by loader.

Tracked-On: #1122
Signed-off-by: Yonghua Huang <yonghua.huang@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com>
2018-12-12 12:53:18 +08:00
..
arch/x86 hv: enable NX in hypervisor 2018-12-12 12:53:18 +08:00
common doc: replace return with retval 2018-11-30 14:55:17 +08:00
debug hv: fixes related to unused API and uninitialized variable 2018-12-04 16:49:49 +08:00
dm hv: dm: fix "Procedure has more than one exit point" 2018-11-29 15:03:48 +08:00
lib hv: fix 'Space missing before or after binary operator' 2018-12-04 09:16:04 +08:00
public hv: minimize the case of "identifier reuse" 2018-12-07 15:21:39 +08:00
hv_debug.h HV: Added Initial support for SEP/SOCWATCH profiling 2018-10-26 13:39:07 +08:00
hypervisor.h HV:treewide:rename vm data structure 2018-11-05 15:35:49 +08:00