[edk2-devel] [PATCH 0/3] Allow SMM access-out when static paging is OFF

Ni, Ray ray.ni at intel.com
Sat Jul 27 03:28:47 UTC 2019


The patch set refines the original CR2 save/restore logic by adding
a new internal function IsStaticPageTableEnabled() because now
there are two use cases that need to conditionally do something
based on whether static page table is enabled.
Based on the refine, the patch changes the policy to allow SMM access
out when static paging is OFF.

Ray Ni (3):
  UefiCpuPkg/PiSmmCpu: Add Internal function IsStaticPageTableEnabled
  UefiCpuPkg/PiSmmCpu: Refine CR2 save/restore logic
  UefiCpuPkg/PiSmmCpu: Allow SMM access-out when static paging is OFF

 UefiCpuPkg/PiSmmCpuDxeSmm/Ia32/PageTbl.c   | 41 ++++++++------------
 UefiCpuPkg/PiSmmCpuDxeSmm/MpService.c      |  8 +++-
 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.c | 21 +++++++---
 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.h | 27 +++++--------
 UefiCpuPkg/PiSmmCpuDxeSmm/X64/PageTbl.c    | 45 ++++++++--------------
 5 files changed, 63 insertions(+), 79 deletions(-)

-- 
2.21.0.windows.1


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#44467): https://edk2.groups.io/g/devel/message/44467
Mute This Topic: https://groups.io/mt/32616000/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-




More information about the edk2-devel-archive mailing list