VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/IntelFsp2Pkg/Include/Library/FspSwitchStackLib.h@ 80924

Last change on this file since 80924 was 80721, checked in by vboxsync, 5 years ago

Devices/EFI/FirmwareNew: Start upgrade process to edk2-stable201908 (compiles on Windows and works to some extent), bugref:4643

  • Property svn:eol-style set to native
File size: 912 bytes
Line 
1/** @file
2
3 Copyright (c) 2014, Intel Corporation. All rights reserved.<BR>
4 SPDX-License-Identifier: BSD-2-Clause-Patent
5
6**/
7
8#ifndef _FSP_SWITCH_STACK_LIB_H_
9#define _FSP_SWITCH_STACK_LIB_H_
10
11/**
12
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.
15 EIP
16 FLAGS 16 bit FLAGS 16 bit
17 EDI
18 ESI
19 EBP
20 ESP
21 EBX
22 EDX
23 ECX
24 EAX
25 DWORD IDT base1
26 StackPointer: DWORD IDT base2
27
28 @return ReturnKey After switching to the saved stack,
29 this value will be saved in eax before returning.
30
31
32**/
33UINT32
34EFIAPI
35Pei2LoaderSwitchStack (
36 VOID
37 );
38
39#endif
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette