audk/UefiCpuPkg/PiSmmCpuDxeSmm/X64
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
..
Cet.nasm UefiCpuPkg: Replace Opcode with the corresponding instructions. 2022-03-01 01:45:47 +00:00
MpFuncs.nasm UefiCpuPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:28 -07:00
PageTbl.c UefiCpuPkg: Simplify the code to set smm page table as RO 2022-12-21 11:13:48 +00:00
Semaphore.c UefiCpuPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
SmiEntry.nasm UefiCpuPkg: Replace Opcode with the corresponding instructions. 2022-03-01 01:45:47 +00:00
SmiException.nasm UefiCpuPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:28 -07:00
SmmFuncsArch.c UefiCpuPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
SmmInit.nasm UefiCpuPkg/PiSmm: Fix various typos 2020-02-10 22:30:07 +00:00
SmmProfileArch.c UefiCpuPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
SmmProfileArch.h UefiCpuPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00