[PATCH v1 0/6] Merge UefiCpuLib to CpuLib


Yu Pu <yu.pu@...>
 

REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3D3394=0D
Today lots of duplicated code call CPUID and calculates the address mask. =
=0D
Adding an API named GetPhysicalAddressBits in UefiCpuLib can solve this =0D
problem, but at the same time cause MdeModulePkg depend on UefiCpuPkg =0D
which does not meet the design spec. So merge UefiCpuLib to CpuLib is a =0D
good way to sovle these problems. To minimize the impact,this operation =0D
is divided into four steps. This patch sets contain the first step: add=0D
CpuLib to module INFs that depend on UefiCpuLib.

Yu Pu (6):
IntelFsp2Pkg: Add CpuLib to module INFs that depend on UefiCpuLib
IntelFsp2WrapperPkg: Add CpuLib to module INFs that depend on
UefiCpuLib.
MdePkg: Add CpuLib to module INFs that depend on UefiCpuLib.
OvmfPkg: Add CpuLib to module INFs that depend on UefiCpuLib.
UefiCpuPkg: Add CpuLib to module INFs that depend on UefiCpuLib.
UefiPayloadPkg: Add CpuLib to module INFs that depend on UefiCpuLib.

OvmfPkg/Sec/SecMain.c | 1 +
UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.c | 1 +
UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.c | 1 +
IntelFsp2Pkg/FspSecCore/FspSecCoreM.inf | 1 +
IntelFsp2Pkg/FspSecCore/SecMain.h | 1 +
IntelFsp2WrapperPkg/FspmWrapperPeim/FspmWrapperPeim.inf | 1 +
IntelFsp2WrapperPkg/FspsWrapperPeim/FspsWrapperPeim.inf | 1 +
MdePkg/MdeLibs.dsc.inc | 1 +
OvmfPkg/Sec/SecMain.inf | 1 +
UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf | 1 +
UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf | 1 +
UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.h | 1 +
UefiCpuPkg/SecCore/SecCore.inf | 1 +
UefiCpuPkg/SecCore/SecCoreNative.inf | 1 +
UefiCpuPkg/SecCore/SecMain.h | 1 +
UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.h | 1 +
UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.inf | 1 +
UefiPayloadPkg/UefiPayloadEntry/UniversalPayloadEntry.inf | 1 +
18 files changed, 18 insertions(+)

--=20
2.30.0.windows.2