public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH v1 0/6] Merge UefiCpuLib to CpuLib
@ 2022-04-01  5:22 Yu Pu
  2022-04-01  5:22 ` [PATCH v1 1/6] IntelFsp2Pkg: Add CpuLib to module INFs that depend on UefiCpuLib Yu Pu
                   ` (5 more replies)
  0 siblings, 6 replies; 12+ messages in thread
From: Yu Pu @ 2022-04-01  5:22 UTC (permalink / raw)
  To: devel; +Cc: Yu Pu

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

-- 
2.30.0.windows.2


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2022-04-10 20:26 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-01  5:22 [PATCH v1 0/6] Merge UefiCpuLib to CpuLib Yu Pu
2022-04-01  5:22 ` [PATCH v1 1/6] IntelFsp2Pkg: Add CpuLib to module INFs that depend on UefiCpuLib Yu Pu
2022-04-06  3:41   ` Chiu, Chasel
2022-04-06 11:20     ` Zeng, Star
2022-04-01  5:22 ` [PATCH v1 2/6] IntelFsp2WrapperPkg: " Yu Pu
2022-04-06  3:41   ` Chiu, Chasel
2022-04-06 11:20     ` Zeng, Star
2022-04-01  5:22 ` [PATCH v1 3/6] MdePkg: " Yu Pu
2022-04-01  5:22 ` [PATCH v1 4/6] OvmfPkg: " Yu Pu
2022-04-01  5:22 ` [PATCH v1 5/6] UefiCpuPkg: " Yu Pu
2022-04-01  5:22 ` [PATCH v1 6/6] UefiPayloadPkg: " Yu Pu
2022-04-10 20:26   ` Guo Dong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox