]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFspWrapperPkg/FspInitPei/FspInitPeiV1.c
BaseTools: Library hashing fix and optimization for --hash feature
[mirror_edk2.git] / IntelFspWrapperPkg / FspInitPei / FspInitPeiV1.c
index da7f8238d7590daa41e651745fdad45eb9d7efc7..7226b50701ace11ed30e504bfcdfd612486ae4c5 100644 (file)
@@ -4,13 +4,7 @@
   them into pei core.\r
 \r
   Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>\r
-  This program and the accompanying materials\r
-  are licensed and made available under the terms and conditions of the BSD License\r
-  which accompanies this distribution.  The full text of the license may be found at\r
-  http://opensource.org/licenses/bsd-license.php.\r
-\r
-  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+  SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
@@ -47,7 +41,7 @@ ContinuationFunc (
   //\r
   BootMode = GetBootMode ();\r
 \r
-  GetStackInfo (BootMode, TRUE, &StackBase, &StackSize);\r
+  GetStackInfo (BootMode, TRUE, &StackSize, &StackBase);\r
   DEBUG ((DEBUG_INFO, "StackBase - 0x%x\n", StackBase));\r
   DEBUG ((DEBUG_INFO, "StackSize - 0x%x\n", StackSize));\r
   CallPeiCoreEntryPoint (\r
@@ -81,7 +75,7 @@ PeiFspInit (
   PeiServicesGetBootMode (&BootMode);\r
   DEBUG ((DEBUG_INFO, "BootMode - 0x%x\n", BootMode));\r
 \r
-  GetStackInfo (BootMode, FALSE, &StackBase, &StackSize);\r
+  GetStackInfo (BootMode, FALSE, &StackSize, &StackBase);\r
   DEBUG ((DEBUG_INFO, "StackBase - 0x%x\n", StackBase));\r
   DEBUG ((DEBUG_INFO, "StackSize - 0x%x\n", StackSize));\r
 \r