]>
git.proxmox.com Git - mirror_edk2.git/blob - IntelFsp2Pkg/Include/Library/FspSwitchStackLib.h
3 Copyright (c) 2014 - 2020, Intel Corporation. All rights reserved.<BR>
4 SPDX-License-Identifier: BSD-2-Clause-Patent
8 #ifndef _FSP_SWITCH_STACK_LIB_H_
9 #define _FSP_SWITCH_STACK_LIB_H_
13 This function will switch the current stack to the previous saved stack.
14 Before calling the previous stack has to be set in FSP_GLOBAL_DATA.CoreStack.
16 FLAGS 16 bit FLAGS 16 bit
26 StackPointer: DWORD IDT base2
28 @return ReturnKey After switching to the saved stack,
29 this value will be saved in eax before returning.
35 Pei2LoaderSwitchStack (
41 This function is equivalent to Pei2LoaderSwitchStack () but just indicates
42 the stack after switched is FSP stack.
44 @return ReturnKey After switching to the saved stack,
45 this value will be saved in eax before returning.
51 Loader2PeiSwitchStack (