summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--IntelFspWrapperPkg/FspInitPei/FspInitPeiV1.c4
-rw-r--r--IntelFspWrapperPkg/FspInitPei/FspInitPeiV2.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/IntelFspWrapperPkg/FspInitPei/FspInitPeiV1.c b/IntelFspWrapperPkg/FspInitPei/FspInitPeiV1.c
index da7f8238d7..b145b50c09 100644
--- a/IntelFspWrapperPkg/FspInitPei/FspInitPeiV1.c
+++ b/IntelFspWrapperPkg/FspInitPei/FspInitPeiV1.c
@@ -47,7 +47,7 @@ ContinuationFunc (
//
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 @@ PeiFspInit (
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));
diff --git a/IntelFspWrapperPkg/FspInitPei/FspInitPeiV2.c b/IntelFspWrapperPkg/FspInitPei/FspInitPeiV2.c
index 35a994e960..50b150aedd 100644
--- a/IntelFspWrapperPkg/FspInitPei/FspInitPeiV2.c
+++ b/IntelFspWrapperPkg/FspInitPei/FspInitPeiV2.c
@@ -148,7 +148,7 @@ PeiFspMemoryInit (
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));