diff options
author | Ni, Ray <ray.ni@intel.com> | 2019-08-01 17:58:25 +0800 |
---|---|---|
committer | Eric Dong <eric.dong@intel.com> | 2019-08-09 08:52:08 +0800 |
commit | 29355b4e1aed751addce6ffd85fbb65a2f409a33 (patch) | |
tree | c0b0f19075bfb480fb223590609113c40ed12ac8 /BaseTools/Source/Python/Common/caching.py | |
parent | 09f69a877b1b499ff4b6bd6450dc531a19d7ed72 (diff) | |
download | edk2-29355b4e1aed751addce6ffd85fbb65a2f409a33.tar.gz edk2-29355b4e1aed751addce6ffd85fbb65a2f409a33.tar.bz2 edk2-29355b4e1aed751addce6ffd85fbb65a2f409a33.zip |
UefiCpuPkg/CpuDxe: Remove unnecessary macros
Today's code defines macros like CR0_PG, CR0_WP, CR4_PSE, CR4_PAE
when checking whether individual bits are set in CR0 or CR4 register.
The patch changes the code to use IA32_CR0 and IA32_CR4 structure
defined in MdePkg/Include/Library/BaseLib.h so that the module
local macros can be removed.
There is no functionality impact to this change.
Cc: Jiewen Yao <jiewen.yao@intel.com>
Signed-off-by: Ray Ni <ray.ni@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
Regression-tested-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Eric Dong <eric.dong@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Common/caching.py')
0 files changed, 0 insertions, 0 deletions