audk/UefiCpuPkg
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
..
Application/Cpuid UefiCpuPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
CpuDxe UefiCpuPkg: Enhance logic in InitializeMpExceptionStackSwitchHandlers 2022-08-31 04:23:55 +00:00
CpuFeatures UefiCpuPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
CpuIo2Dxe UefiCpuPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
CpuIo2Smm UefiCpuPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
CpuIoPei UefiCpuPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
CpuMpPei UefiCpuPkg: Enhance logic in InitializeMpExceptionStackSwitchHandlers 2022-08-31 04:23:55 +00:00
CpuS3DataDxe UefiCpuPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Include UefiCpuPkg: Remove unused API in SmmCpuFeaturesLib.h 2022-12-21 11:13:48 +00:00
Library UefiCpuPkg: Has APs in 64 bit long-mode before booting to OS. 2022-12-20 08:38:28 +00:00
MicrocodeMeasurementDxe UefiCpuPkg: Extend measurement of microcode patches to TPM 2021-12-24 09:08:20 +00:00
PiSmmCommunication UefiCpuPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PiSmmCpuDxeSmm UefiCpuPkg: Simplify the code to set smm page table as RO 2022-12-21 11:13:48 +00:00
ResetVector UefiCpuPkg: Supporting S3 in 64bit PEI 2022-12-19 06:12:56 +00:00
SecCore UefiCpuPkg: Update SEC_IDT_TABLE struct 2022-07-14 18:13:44 +00:00
SecMigrationPei UefiCpuPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Test UefiCpuPkg/Test: develop UEFI App and dynamic cmd for MP services UT 2022-12-08 10:04:24 +00:00
Universal/Acpi/S3Resume2Pei UefiCpuPkg: Supporting S3 in 64bit PEI 2022-12-19 06:12:56 +00:00
UefiCpuPkg.ci.yaml UefiCpuPkg: Add R8/R9 etc in EccCheck ExceptionList 2022-10-17 08:03:06 +00:00
UefiCpuPkg.dec OvmfPkg/UefiCpuPkg/UefiPayloadPkg: Rename VmgExitLib to CcExitLib 2022-11-14 04:55:34 +00:00
UefiCpuPkg.dsc UefiCpuPkg: Has APs in 64 bit long-mode before booting to OS. 2022-12-20 08:38:28 +00:00
UefiCpuPkg.uni UefiCpuPkg: Add PCD to control SMRR enable & SmmFeatureControl support 2022-08-31 04:23:55 +00:00
UefiCpuPkgExtra.uni UefiCpuPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:28 -07:00