From: Yu Pu <yu.pu@intel.com>
To: devel@edk2.groups.io
Cc: Yu Pu <yu.pu@intel.com>,
Ard Biesheuvel <ardb+tianocore@kernel.org>,
Jiewen Yao <jiewen.yao@intel.com>,
Jordan Justen <jordan.l.justen@intel.com>,
Gerd Hoffmann <kraxel@redhat.com>
Subject: [PATCH v1 04/15] OvmfPkg: Add CpuLib to module INFs that depend on UefiCpuLib.
Date: Mon, 11 Apr 2022 17:45:44 +0800 [thread overview]
Message-ID: <20220411094555.1375-5-yu.pu@intel.com> (raw)
In-Reply-To: <20220411094555.1375-1-yu.pu@intel.com>
There are two libraries: MdePkg/CpuLib and UefiCpuPkg/UefiCpuLib and
UefiCpuPkg/UefiCpuLib will be merged to MdePkg/CpuLib. To avoid build
failure, add CpuLib dependency to all modules that depend on UefiCpuLib.
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Yu Pu <yu.pu@intel.com>
---
OvmfPkg/Sec/SecMain.c | 1 +
OvmfPkg/Sec/SecMain.inf | 1 +
2 files changed, 2 insertions(+)
diff --git a/OvmfPkg/Sec/SecMain.c b/OvmfPkg/Sec/SecMain.c
index 2c5561661ef3..2c9e439800c7 100644
--- a/OvmfPkg/Sec/SecMain.c
+++ b/OvmfPkg/Sec/SecMain.c
@@ -17,6 +17,7 @@
#include <Library/BaseMemoryLib.h>
#include <Library/PeiServicesLib.h>
#include <Library/PcdLib.h>
+#include <Library/CpuLib.h>
#include <Library/UefiCpuLib.h>
#include <Library/DebugAgentLib.h>
#include <Library/IoLib.h>
diff --git a/OvmfPkg/Sec/SecMain.inf b/OvmfPkg/Sec/SecMain.inf
index 95cf0025e100..6ad366a89333 100644
--- a/OvmfPkg/Sec/SecMain.inf
+++ b/OvmfPkg/Sec/SecMain.inf
@@ -44,6 +44,7 @@
BaseMemoryLib
PeiServicesLib
PcdLib
+ CpuLib
UefiCpuLib
DebugAgentLib
IoLib
--
2.30.0.windows.2
next prev parent reply other threads:[~2022-04-11 9:46 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-11 9:45 [PATCH v1 00/15] Merge UefiCpuPkg/UefiCpuLib to MdePkg/CpuLib Yu Pu
2022-04-11 9:45 ` [PATCH v1 01/15] IntelFsp2Pkg: Add CpuLib to module INFs that depend on UefiCpuLib Yu Pu
2022-04-11 9:49 ` Zeng, Star
2022-04-12 3:35 ` Chiu, Chasel
2022-04-11 9:45 ` [PATCH v1 02/15] IntelFsp2WrapperPkg: " Yu Pu
2022-04-12 3:35 ` Chiu, Chasel
2022-04-11 9:45 ` [PATCH v1 03/15] MdePkg: " Yu Pu
2022-04-11 9:45 ` Yu Pu [this message]
2022-04-11 9:45 ` [PATCH v1 05/15] UefiCpuPkg: " Yu Pu
2022-04-11 9:45 ` [PATCH v1 06/15] UefiPayloadPkg: " Yu Pu
2022-04-11 9:45 ` [PATCH v1 07/15] MdePkg: Move API and implementation from UefiCpuLib to CpuLib Yu Pu
2022-04-11 9:45 ` [PATCH v1 08/15] UefiCpuPkg: " Yu Pu
2022-04-11 9:45 ` [PATCH v1 09/15] IntelFsp2Pkg: Remove UefiCpuLib from module INFs Yu Pu
2022-04-12 3:36 ` Chiu, Chasel
2022-04-11 9:45 ` [PATCH v1 10/15] OvmfPkg: " Yu Pu
2022-04-11 9:45 ` [PATCH v1 11/15] PcAtChipsetPkg: " Yu Pu
2022-04-11 9:45 ` [PATCH v1 12/15] SourceLevelDebugPkg: " Yu Pu
2022-04-11 9:45 ` [PATCH v1 13/15] UefiCpuPkg: " Yu Pu
2022-04-11 9:45 ` [PATCH v1 14/15] UefiPayloadPkg: " Yu Pu
2022-04-11 9:45 ` [PATCH v1 15/15] UefiCpuLib: Remove UefiCpuLib Yu Pu
2022-04-12 1:05 ` 回复: [edk2-devel] [PATCH v1 00/15] Merge UefiCpuPkg/UefiCpuLib to MdePkg/CpuLib gaoliming
-- strict thread matches above, loose matches on Subject: below --
2022-03-29 6:36 [PATCH v1 00/15] Merge UefiCpuLib to CpuLib Yu Pu
2022-03-29 6:36 ` [PATCH v1 04/15] OvmfPkg: Add CpuLib to module INFs that depend on UefiCpuLib Yu Pu
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=20220411094555.1375-5-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