summaryrefslogtreecommitdiffstats
path: root/IntelFsp2Pkg/Include/Library/FspSwitchStackLib.h
diff options
context:
space:
mode:
Diffstat (limited to 'IntelFsp2Pkg/Include/Library/FspSwitchStackLib.h')
-rw-r--r--IntelFsp2Pkg/Include/Library/FspSwitchStackLib.h18
1 files changed, 17 insertions, 1 deletions
diff --git a/IntelFsp2Pkg/Include/Library/FspSwitchStackLib.h b/IntelFsp2Pkg/Include/Library/FspSwitchStackLib.h
index 0c76e9f022..f049361d78 100644
--- a/IntelFsp2Pkg/Include/Library/FspSwitchStackLib.h
+++ b/IntelFsp2Pkg/Include/Library/FspSwitchStackLib.h
@@ -1,6 +1,6 @@
/** @file
- Copyright (c) 2014, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2014 - 2020, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
@@ -36,4 +36,20 @@ Pei2LoaderSwitchStack (
VOID
);
+/**
+
+ This function is equivalent to Pei2LoaderSwitchStack () but just indicates
+ the stack after switched is FSP stack.
+
+ @return ReturnKey After switching to the saved stack,
+ this value will be saved in eax before returning.
+
+
+**/
+UINT32
+EFIAPI
+Loader2PeiSwitchStack (
+ VOID
+ );
+
#endif