[PATCH v2 1/2] MinPlatformPkg/FspWrapper: FspResetType support for X64 build.


Chiu, Chasel
 

FSP_STATUS_RESET_REQUIRED_* will be either 32bit or 64bit basing
on the build and this patch extended the support for 64bit build.

Cc: Nate DeSimone <nathaniel.l.desimone@...>
Cc: Isaac Oram <isaac.w.oram@...>
Cc: Liming Gao <gaoliming@...>
Cc: Eric Dong <eric.dong@...>
Signed-off-by: Chasel Chiu <chasel.chiu@...>
---
Platform/Intel/MinPlatformPkg/FspWrapper/Library/DxeFspWrapperPlatformLib/=
DxeFspWrapperPlatformResetLib.c | 2 +-
Platform/Intel/MinPlatformPkg/FspWrapper/Library/PeiFspWrapperPlatformLib/=
PeiFspWrapperPlatformResetLib.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Platform/Intel/MinPlatformPkg/FspWrapper/Library/DxeFspWrapper=
PlatformLib/DxeFspWrapperPlatformResetLib.c b/Platform/Intel/MinPlatformPkg=
/FspWrapper/Library/DxeFspWrapperPlatformLib/DxeFspWrapperPlatformResetLib.c
index b4d509db85..832027d3ee 100644
--- a/Platform/Intel/MinPlatformPkg/FspWrapper/Library/DxeFspWrapperPlatfor=
mLib/DxeFspWrapperPlatformResetLib.c
+++ b/Platform/Intel/MinPlatformPkg/FspWrapper/Library/DxeFspWrapperPlatfor=
mLib/DxeFspWrapperPlatformResetLib.c
@@ -22,7 +22,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
VOID=0D
EFIAPI=0D
CallFspWrapperResetSystem (=0D
- UINT32 ResetType=0D
+ EFI_STATUS ResetType=0D
)=0D
{=0D
EFI_RESET_TYPE EfiResetType;=0D
diff --git a/Platform/Intel/MinPlatformPkg/FspWrapper/Library/PeiFspWrapper=
PlatformLib/PeiFspWrapperPlatformResetLib.c b/Platform/Intel/MinPlatformPkg=
/FspWrapper/Library/PeiFspWrapperPlatformLib/PeiFspWrapperPlatformResetLib.c
index 191bcb2fbb..2f6f7d058c 100644
--- a/Platform/Intel/MinPlatformPkg/FspWrapper/Library/PeiFspWrapperPlatfor=
mLib/PeiFspWrapperPlatformResetLib.c
+++ b/Platform/Intel/MinPlatformPkg/FspWrapper/Library/PeiFspWrapperPlatfor=
mLib/PeiFspWrapperPlatformResetLib.c
@@ -21,7 +21,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
VOID=0D
EFIAPI=0D
CallFspWrapperResetSystem (=0D
- UINT32 ResetType=0D
+ EFI_STATUS ResetType=0D
)=0D
{=0D
EFI_RESET_TYPE EfiResetType;=0D
--=20
2.35.0.windows.1

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