audk/UefiCpuPkg/PiSmmCpuDxeSmm
Tan, Dun 72a9386f67 UefiCpuPkg: Simplify the code to set smm page table as RO
Simplify the code to set memory used by smm page table as RO.
Since memory used by smm page table are in PageTablePool list,
we only need to set all PageTablePool as ReadOnly in smm page
table itself. Also, we only need to flush tlb once after
setting all page table pool as Read Only.

Signed-off-by: Dun Tan <dun.tan@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
Cc: Rahul Kumar <rahul1.kumar@intel.com>
2022-12-21 11:13:48 +00:00
..
Ia32 UefiCpuPkg: Simplify the code to set smm page table as RO 2022-12-21 11:13:48 +00:00
X64 UefiCpuPkg: Simplify the code to set smm page table as RO 2022-12-21 11:13:48 +00:00
CpuS3.c UefiCpuPkg: Supporting S3 in 64bit PEI 2022-12-19 06:12:56 +00:00
CpuService.c UefiCpuPkg: Extend SMM CPU Service with rendezvous support. 2022-03-04 05:44:42 +00:00
CpuService.h UefiCpuPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
MpService.c UefiCpuPkg: Check SMM Delayed/Blocked AP Count 2022-12-08 10:04:24 +00:00
PiSmmCpuDxeSmm.c UefiCpuPkg/PiSmmCpuDxeSmm: Introduce page table pool mechanism 2022-12-21 11:13:48 +00:00
PiSmmCpuDxeSmm.h UefiCpuPkg: Simplify the code to set smm page table as RO 2022-12-21 11:13:48 +00:00
PiSmmCpuDxeSmm.inf UefiCpuPkg: Supporting S3 in 64bit PEI 2022-12-19 06:12:56 +00:00
PiSmmCpuDxeSmm.uni UefiCpuPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:28 -07:00
PiSmmCpuDxeSmmExtra.uni UefiCpuPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:28 -07:00
SmmCpuMemoryManagement.c UefiCpuPkg: Simplify the code to set smm page table as RO 2022-12-21 11:13:48 +00:00
SmmMp.c UefiCpuPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
SmmMp.h UefiCpuPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
SmmProfile.c UefiCpuPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
SmmProfile.h UefiCpuPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
SmmProfileInternal.h UefiCpuPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
SmramSaveState.c UefiCpuPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
SyncTimer.c UefiCpuPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00