audk/UefiCpuPkg/Include
Dong, Eric 35c2809ba6 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>
2019-08-21 02:44:48 +08:00
..
Guid UefiCpuPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:28 -07:00
Library UefiCpuPkg/RegisterCpuFeaturesLib: Add "Test Then Write" Macros. 2019-08-21 02:44:48 +08:00
Ppi UefiCpuPkg: Add new EDKII_PEI_MP_SERVICES2_PPI 2019-07-29 09:25:20 +08:00
Protocol UefiCpuPkg: Update code to include register definitions from MdePkg 2019-08-09 08:52:09 +08:00
Register UefiCpuPkg|MdePkg: Move Register/ folder to MdePkg/Include/ 2019-08-09 08:52:09 +08:00
AcpiCpuData.h UefiCpuPkg/RegisterCpuFeaturesLib: Add "Test Then Write" Macros. 2019-08-21 02:44:48 +08:00
CpuHotPlugData.h UefiCpuPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:28 -07:00
StuffRsbNasm.inc UefiCpuPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:28 -07:00