public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH v5 1/6] Platform/Intel/MinPlatformPkg: Fix build error
@ 2020-07-20 20:25 IanX Kuo
  2020-07-20 20:25 ` [PATCH v5 2/6] Platform/Intel/CometlakeOpenBoardPkg: Add ReportCpuHobLib IanX Kuo
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: IanX Kuo @ 2020-07-20 20:25 UTC (permalink / raw)
  To: devel
  Cc: james.lu, chandana.c.kumar, varalakshmi.a.prabhala, IanX Kuo,
	Sai Chaganty, Chasel Chiu

Fix ReportCpuHobLib build error

Create an Library instance of ReportCpuHobLib from PlatformInitPei driver.
PA bits reported can be overriden using Library instance in Platform.

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2674

Change-Id: I0cd6ba4eb7231a3a84f080fdce85bbe74eb29eeb
Signed-off-by: IanX Kuo <ianx.kuo@intel.com>
Cc: Sai Chaganty <rangasai.v.chaganty@intel.com>
Cc: Chasel Chiu <chasel.chiu@intel.com>
---
 .../PlatformInit/Library/ReportCpuHobLib/ReportCpuHobLib.c   | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Platform/Intel/MinPlatformPkg/PlatformInit/Library/ReportCpuHobLib/ReportCpuHobLib.c b/Platform/Intel/MinPlatformPkg/PlatformInit/Library/ReportCpuHobLib/ReportCpuHobLib.c
index aa256534..83fc5249 100644
--- a/Platform/Intel/MinPlatformPkg/PlatformInit/Library/ReportCpuHobLib/ReportCpuHobLib.c
+++ b/Platform/Intel/MinPlatformPkg/PlatformInit/Library/ReportCpuHobLib/ReportCpuHobLib.c
@@ -6,7 +6,10 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
 
 **/
 
-#include <Base.h>
+#include <Uefi.h>
+#include <Pi/PiBootMode.h>
+#include <Pi/PiHob.h>
+#include <Library/BaseLib.h>
 #include <Library/HobLib.h>
 
 VOID
-- 
2.26.2.windows.1


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

end of thread, other threads:[~2020-07-20 20:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-20 20:25 [PATCH v5 1/6] Platform/Intel/MinPlatformPkg: Fix build error IanX Kuo
2020-07-20 20:25 ` [PATCH v5 2/6] Platform/Intel/CometlakeOpenBoardPkg: Add ReportCpuHobLib IanX Kuo
2020-07-20 20:25 ` [PATCH v5 3/6] Platform/Intel/KabylakeOpenBoardPkg: " IanX Kuo
2020-07-20 20:26 ` [PATCH v5 4/6] Platform/Intel/SimicsOpenBoardPkg: " IanX Kuo
2020-07-20 20:26 ` [PATCH v5 5/6] Platform/Intel/WhiskeylakeOpenBoardPkg: " IanX Kuo
2020-07-20 20:26 ` [PATCH v5 6/6] Platform/Intel/MinPlatformPkg: " IanX Kuo

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