diff options
author | Dun Tan <dun.tan@intel.com> | 2024-08-02 11:45:49 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-08-05 06:59:09 +0000 |
commit | 5d43165ff8596c2fa07b7d4de3c482d64338ca99 (patch) | |
tree | 8dc64ac0be57dbe1aa7ee2bfb506eb6c3493135f /BaseTools | |
parent | cff06413604a980bd3f04782c4a745f7c02ccd7b (diff) | |
download | edk2-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 'BaseTools')
0 files changed, 0 insertions, 0 deletions