]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFsp2Pkg/Include/Library/FspSwitchStackLib.h
IntelFsp2Pkg: Add FunctionParametePtr to FspGlobalData.
[mirror_edk2.git] / IntelFsp2Pkg / Include / Library / FspSwitchStackLib.h
index 0c76e9f0220fc0c7469ef84f879e3a7e39bd19db..f049361d7845d4575d38f710181f3af76feb9005 100644 (file)
@@ -1,6 +1,6 @@
 /** @file\r
 \r
-  Copyright (c) 2014, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2014 - 2020, Intel Corporation. All rights reserved.<BR>\r
   SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
@@ -36,4 +36,20 @@ Pei2LoaderSwitchStack (
   VOID\r
   );\r
 \r
+/**\r
+\r
+  This function is equivalent to Pei2LoaderSwitchStack () but just indicates\r
+  the stack after switched is FSP stack.\r
+\r
+  @return ReturnKey          After switching to the saved stack,\r
+                             this value will be saved in eax before returning.\r
+\r
+\r
+**/\r
+UINT32\r
+EFIAPI\r
+Loader2PeiSwitchStack (\r
+  VOID\r
+  );\r
+\r
 #endif\r