diff options
author | Dun Tan <dun.tan@intel.com> | 2024-07-25 13:58:38 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-08-05 06:59:09 +0000 |
commit | b3631ca944bda812f51db3f833f18d82d8e0e761 (patch) | |
tree | b9651f62ad2159d3426ee30023df3871c56b9316 /Maintainers.txt | |
parent | 9f29fbd33b73dafb7fca430d08e68b6b8f4bbb9d (diff) | |
download | edk2-b3631ca944bda812f51db3f833f18d82d8e0e761.tar.gz |
UefiCpuPkg: remove unnecessary manipulation for smm page table
In this commit, we only set some special bits in paging entry
content when SMM profile is enabled.
Previously, we set Pml4Entry sub-entries number and set the
IA32_PG_PMNT bit for first 4 PdptEntry. It's to make sure that
the paging structures cover [0, 4G] won't be reclaimed during
dynamic page table creation.
In last commit, we always create full mapping SMM page table
regardless PcdCpuSmmRestrictedMemoryAccess. With this change,
we only need to dynamic create SMM page table in smm PF handler
when PcdCpuSmmProfileEnable is TRUE.
So the sub-entries number and IA32_PG_PMNT bit in paging entry
is only needed to set when PcdCpuSmmProfileEnable is TRUE.
Signed-off-by: Dun Tan <dun.tan@intel.com>
Diffstat (limited to 'Maintainers.txt')
0 files changed, 0 insertions, 0 deletions