summaryrefslogtreecommitdiffstats
path: root/MdePkg
diff options
context:
space:
mode:
authorDun Tan <dun.tan@intel.com>2024-08-02 11:45:49 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-08-05 06:59:09 +0000
commit5d43165ff8596c2fa07b7d4de3c482d64338ca99 (patch)
tree8dc64ac0be57dbe1aa7ee2bfb506eb6c3493135f /MdePkg
parentcff06413604a980bd3f04782c4a745f7c02ccd7b (diff)
downloadedk2-5d43165ff8596c2fa07b7d4de3c482d64338ca99.tar.gz
UefiCpuPkg: rename and simplify IsAddressValid function
In this commit, we rename IsAddressValid function to IsSmmProfilePFAddressAbove4GValid and remove unneeded code logic in it. Currently, IsAddressValid is only used in the function RestorePageTableAbove4G. It's used to identify if a SMM profile PF address above 4G is inside mProtectionMemRange or not. So we can remove the PcdCpuSmmProfileEnable FALSE condition related code logic in it. Also the function name is change to be more detailed and specific. Signed-off-by: Dun Tan <dun.tan@intel.com>
Diffstat (limited to 'MdePkg')
0 files changed, 0 insertions, 0 deletions