diff options
author | Ray Ni <ray.ni@intel.com> | 2023-02-27 13:43:19 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2023-04-01 01:08:34 +0000 |
commit | f2f526e0741c8a8957c6a24ba848da92c5d2222c (patch) | |
tree | 933b23f5375463b705b4c31248ea23fd9cca9176 /BaseTools/Source/Python/Table | |
parent | 263782f66781f97be1f88e0097c5a2af6fbb4209 (diff) | |
download | edk2-f2f526e0741c8a8957c6a24ba848da92c5d2222c.tar.gz edk2-f2f526e0741c8a8957c6a24ba848da92c5d2222c.tar.bz2 edk2-f2f526e0741c8a8957c6a24ba848da92c5d2222c.zip |
UefiCpuPkg/CpuDxe: Refactor to use CPUID definitions
The patch does not change any code behavior but only refactors by:
* replaces the hardcode 0x80000000 with CPUID_EXTENDED_FUNCTION
* replaces the hardcode 0x80000008 with CPUID_VIR_PHY_ADDRESS_SIZE
* replace "UINT32 Eax" with
"CPUID_VIR_PHY_ADDRESS_SIZE_EAX VirPhyAddressSize"
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>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Ahmad Anadani <ahmad.anadani@intel.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Table')
0 files changed, 0 insertions, 0 deletions