summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python
diff options
context:
space:
mode:
authorDong, Eric <eric.dong@intel.com>2019-08-16 11:57:25 +0800
committerRay Ni <ray.ni@intel.com>2019-08-21 02:44:48 +0800
commit35c2809ba6a510182dc704fd59952d54695299f8 (patch)
tree8f07a486d9175ddecb5ffe42b90ecfcbc4f2543d /BaseTools/Source/Python
parent4201098e97fe53275638ebc64e9aa90b537199b9 (diff)
downloadedk2-35c2809ba6a510182dc704fd59952d54695299f8.zip
edk2-35c2809ba6a510182dc704fd59952d54695299f8.tar.gz
edk2-35c2809ba6a510182dc704fd59952d54695299f8.tar.bz2
UefiCpuPkg/RegisterCpuFeaturesLib: Add "Test Then Write" Macros.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2040 Add below new micros which test the current value before write the new value. Only write new value when current value not same as new value. CPU_REGISTER_TABLE_TEST_THEN_WRITE32 CPU_REGISTER_TABLE_TEST_THEN_WRITE64 CPU_REGISTER_TABLE_TEST_THEN_WRITE_FIELD Also add below API: CpuRegisterTableTestThenWrite Signed-off-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Ray Ni <ray.ni@intel.com> Acked-by: Laszlo Ersek <lersek@redhat.com> Cc: Star Zeng <star.zeng@intel.com>
Diffstat (limited to 'BaseTools/Source/Python')
0 files changed, 0 insertions, 0 deletions