mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-11-29 18:17:40 +00:00
According to SDM 4.6 Access Rights definition, if SMAP/SMEP is enabled, more conditions are used to decide the access rights like SMAP/SMEP, EFLAGS.AC, R/W bit in every paging-structure entry for page walking. This patch add the check to guest page walking function and inject page fault accordingly. Tracked-On: #1207 Signed-off-by: Yin Fengwei <fengwei.yin@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
18 KiB
18 KiB