diff options
author | Tan, Dun <dun.tan@intel.com> | 2022-12-21 12:21:56 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2022-12-21 11:13:48 +0000 |
commit | 72a9386f67f8ef5486c90f45fb24e2cf1c05a269 (patch) | |
tree | 16dc9a0c14ad0d843f621821e700074e014eab9e /CryptoPkg/CryptoPkg.dsc | |
parent | 0426115b673899c0e99235e2f77054bbcf208335 (diff) | |
download | edk2-72a9386f67f8ef5486c90f45fb24e2cf1c05a269.tar.gz |
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>
Diffstat (limited to 'CryptoPkg/CryptoPkg.dsc')
0 files changed, 0 insertions, 0 deletions