Reviewed-by: Zhiguang Liu <zhiguang.liu@intel.com>


From: devel@edk2.groups.io <devel@edk2.groups.io> on behalf of Guo Dong <guo.dong@intel.com>
Sent: Tuesday, October 19, 2021 14:08
To: devel@edk2.groups.io <devel@edk2.groups.io>
Cc: Dong, Guo <guo.dong@intel.com>; Ni, Ray <ray.ni@intel.com>; Ma, Maurice <maurice.ma@intel.com>; You, Benjamin <benjamin.you@intel.com>
Subject: [edk2-devel] [`edk2-devel][PATCH] UefiPayloadPkg: Fix the build failure for non-universal payload
 
From: Guo Dong <guo.dong@intel.com>

Applied an old patch which caused non-universal payload build failed
since that code was added after the old patch.
This patch fixed the build failure.

Signed-off-by: Guo Dong <guo.dong@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Maurice Ma <maurice.ma@intel.com>
Cc: Benjamin You <benjamin.you@intel.com>
---
 UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.c b/UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.c
index 00db65c2f0..9efe01d094 100644
--- a/UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.c
+++ b/UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.c
@@ -103,7 +103,7 @@ MemInfoCallbackMmio (
 **/

 EFI_STATUS

 FindToludCallback (

-  IN MEMROY_MAP_ENTRY          *MemoryMapEntry,

+  IN MEMORY_MAP_ENTRY          *MemoryMapEntry,

   IN VOID                      *Params

   )

 {

@@ -168,7 +168,7 @@ FindToludCallback (
 **/

 EFI_STATUS

 MemInfoCallback (

-  IN MEMROY_MAP_ENTRY          *MemoryMapEntry,

+  IN MEMORY_MAP_ENTRY          *MemoryMapEntry,

   IN VOID                      *Params

   )

 {

--
2.32.0.windows.2



-=-=-=-=-=-=
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#82287): https://edk2.groups.io/g/devel/message/82287
Mute This Topic: https://groups.io/mt/86433746/1779286
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [zhiguang.liu@intel.com]
-=-=-=-=-=-=