Re: [`edk2-devel][PATCH] UefiPayloadPkg: Fix the build failure for non-universal payload


Zhiguang Liu
 

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


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

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@...>
Cc: Ray Ni <ray.ni@...>
Cc: Maurice Ma <maurice.ma@...>
Cc: Benjamin You <benjamin.you@...>
---
 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@...]
-=-=-=-=-=-=


Join devel@edk2.groups.io to automatically receive all group messages.