public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Yu Pu <yu.pu@intel.com>
To: devel@edk2.groups.io
Cc: Yu Pu <yu.pu@intel.com>
Subject: [PATCH v1 0/6] Merge UefiCpuLib to CpuLib
Date: Fri,  1 Apr 2022 13:22:05 +0800	[thread overview]
Message-ID: <20220401052211.2914-1-yu.pu@intel.com> (raw)

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


             reply	other threads:[~2022-04-01  5:22 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-01  5:22 Yu Pu [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220401052211.2914-1-yu.pu@intel.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox