public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "IanX Kuo" <ianx.kuo@intel.com>
To: devel@edk2.groups.io
Cc: IanX Kuo <ianx.kuo@intel.com>
Subject: [PATCH v4 1/6] Platform/Intel/MinPlatformPkg: Fix build error
Date: Mon, 20 Jul 2020 16:57:59 +0800	[thread overview]
Message-ID: <e020cbfd0f54291a64b117f318afc70b5be6fc91.1595235415.git.ianx.kuo@intel.com> (raw)
In-Reply-To: <cover.1595235415.git.ianx.kuo@intel.com>

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>
---
 .../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


       reply	other threads:[~2020-07-20  8:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <cover.1595235415.git.ianx.kuo@intel.com>
2020-07-20  8:57 ` IanX Kuo [this message]
2020-07-20  8:58 ` [PATCH v4 2/6] Platform/Intel/CometlakeOpenBoardPkg: Add ReportCpuHobLib IanX Kuo
2020-07-20  8:58 ` [PATCH v4 3/6] Platform/Intel/KabylakeOpenBoardPkg: " IanX Kuo
2020-07-20  8:58 ` [PATCH v4 4/6] Platform/Intel/SimicsOpenBoardPkg: " IanX Kuo
2020-07-20  8:59 ` [PATCH v4 5/6] Platform/Intel/WhiskeylakeOpenBoardPkg: " IanX Kuo
2020-07-20  8:59 ` [PATCH v4 6/6] Platform/Intel/MinPlatformPkg: " IanX Kuo
2020-07-20  8:54 [PATCH v4 0/6] *** SUBJECT HERE *** IanX Kuo
2020-07-20  5:17 ` [PATCH v4 1/6] Platform/Intel/MinPlatformPkg: Fix build error IanX Kuo

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=e020cbfd0f54291a64b117f318afc70b5be6fc91.1595235415.git.ianx.kuo@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