Revision: 17850
http://sourceforge.net/p/edk2/code/17850
Author: jyao1
Date: 2015-07-07 05:47:08 +0000 (Tue, 07 Jul 2015)
Log Message:
-----------
FspInitPei function calling parameters not matching with the function
definition.
IntelFspWrapperPkg, In the file FspInitPeiV1.c and FspInitPeiV2.c, there are
function calling:
GetStackInfo (BootMode, FALSE, &StackBase, &StackSize);
But the function GetStackInfo() defined as EFI_STATUS EFIAPI GetStackInfo (
IN UINT32 BootMode,
IN BOOLEAN FspInitDone,
OUT UINT64 *StackSize,
OUT EFI_PHYSICAL_ADDRESS *StackBase
)
It should be GetStackInfo (BootMode, FALSE, &StackSize, &StackBase);
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Yao, Jiewen" <[email protected]>
Reviewed-by: "Ma, Maurice" <[email protected]>
Reviewed-by: "Rangarajan, Ravi P" <[email protected]>
Modified Paths:
--------------
trunk/edk2/IntelFspWrapperPkg/FspInitPei/FspInitPeiV1.c
trunk/edk2/IntelFspWrapperPkg/FspInitPei/FspInitPeiV2.c
Modified: trunk/edk2/IntelFspWrapperPkg/FspInitPei/FspInitPeiV1.c
===================================================================
--- trunk/edk2/IntelFspWrapperPkg/FspInitPei/FspInitPeiV1.c 2015-07-07
05:43:00 UTC (rev 17849)
+++ trunk/edk2/IntelFspWrapperPkg/FspInitPei/FspInitPeiV1.c 2015-07-07
05:47:08 UTC (rev 17850)
@@ -47,7 +47,7 @@
//
BootMode = GetBootMode ();
- GetStackInfo (BootMode, TRUE, &StackBase, &StackSize);
+ GetStackInfo (BootMode, TRUE, &StackSize, &StackBase);
DEBUG ((DEBUG_INFO, "StackBase - 0x%x\n", StackBase));
DEBUG ((DEBUG_INFO, "StackSize - 0x%x\n", StackSize));
CallPeiCoreEntryPoint (
@@ -81,7 +81,7 @@
PeiServicesGetBootMode (&BootMode);
DEBUG ((DEBUG_INFO, "BootMode - 0x%x\n", BootMode));
- GetStackInfo (BootMode, FALSE, &StackBase, &StackSize);
+ GetStackInfo (BootMode, FALSE, &StackSize, &StackBase);
DEBUG ((DEBUG_INFO, "StackBase - 0x%x\n", StackBase));
DEBUG ((DEBUG_INFO, "StackSize - 0x%x\n", StackSize));
Modified: trunk/edk2/IntelFspWrapperPkg/FspInitPei/FspInitPeiV2.c
===================================================================
--- trunk/edk2/IntelFspWrapperPkg/FspInitPei/FspInitPeiV2.c 2015-07-07
05:43:00 UTC (rev 17849)
+++ trunk/edk2/IntelFspWrapperPkg/FspInitPei/FspInitPeiV2.c 2015-07-07
05:47:08 UTC (rev 17850)
@@ -148,7 +148,7 @@
PeiServicesGetBootMode (&BootMode);
DEBUG ((DEBUG_INFO, "BootMode - 0x%x\n", BootMode));
- GetStackInfo (BootMode, FALSE, &StackBase, &StackSize);
+ GetStackInfo (BootMode, FALSE, &StackSize, &StackBase);
DEBUG ((DEBUG_INFO, "StackBase - 0x%x\n", StackBase));
DEBUG ((DEBUG_INFO, "StackSize - 0x%x\n", StackSize));
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits