diff options
author | Ruiyu Ni <ruiyu.ni@intel.com> | 2018-01-18 14:13:32 +0800 |
---|---|---|
committer | Ruiyu Ni <ruiyu.ni@intel.com> | 2018-01-24 11:13:17 +0800 |
commit | bc6a8b78aa77cf63aa896c5dba0d948d4eebfa73 (patch) | |
tree | 534c8a6d5b2996e018ee545ac256a9a52d9d3fd6 /BaseTools/Source/Python/Common/InfClassObject.py | |
parent | 8b2eb7b3f62b1946cdd76e6f7758e106fcf71477 (diff) | |
download | edk2-bc6a8b78aa77cf63aa896c5dba0d948d4eebfa73.tar.gz edk2-bc6a8b78aa77cf63aa896c5dba0d948d4eebfa73.tar.bz2 edk2-bc6a8b78aa77cf63aa896c5dba0d948d4eebfa73.zip |
UefiCpuPkg/MtrrLib: Add comments to recommend to use batch-set API
MtrrSetMemoryAttributesInMtrrSettings() is a batch-set API.
When setting multiple ranges of memory attributes, the single-set
API (MtrrSetMemoryAttributeInMtrrSettings and MtrrSetMemoryAttribute)
may fail, but batch-set API may succeed.
Add comments to recommend caller to use batch-set API when setting
multiple ranges.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Ming Shao <ming.shao@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Common/InfClassObject.py')
0 files changed, 0 insertions, 0 deletions