diff options
author | YuanhaoXie <yuanhao.xie@intel.com> | 2023-09-11 18:41:34 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2023-10-09 08:22:02 +0000 |
commit | 4b7b32f846edbd2970f5b7c34041c2abe9d0724e (patch) | |
tree | c2e2dad82cc5f23a974de51ee4449e5d85f27294 /BaseTools/Source/Python/FirmwareStorageFormat | |
parent | c032db330805993bb29e4ff3d9daad160f3fb35e (diff) | |
download | edk2-4b7b32f846edbd2970f5b7c34041c2abe9d0724e.tar.gz edk2-4b7b32f846edbd2970f5b7c34041c2abe9d0724e.tar.bz2 edk2-4b7b32f846edbd2970f5b7c34041c2abe9d0724e.zip |
UefiCpuPkg/MtrrLib: Add API MtrrGetMemoryAttributesInMtrrSettings.
MtrrGetMemoryAttributesInMtrrSettings parses the MTRR settings
either from hardware or from the parameter and returns an
array containing the memory cache types of all memory addresses.
This API could elinimate the needs of following APIs:
1. MtrrGetMemoryAttributeInVariableMtr
2. MtrrGetFixedMtrr
Signed-off-by: Ray Ni <ray.ni@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Cc: Rahul Kumar <rahul1.kumar@intel.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/FirmwareStorageFormat')
0 files changed, 0 insertions, 0 deletions