]> git.proxmox.com Git - mirror_edk2.git/blame - EdkCompatibilityPkg/Foundation/Guid/PeiTransferControl/PeiTransferControl.h
Removed extra typedefs on structures to fix error generated by gcc.
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Guid / PeiTransferControl / PeiTransferControl.h
CommitLineData
3eb9473e 1/*++\r
2\r
3Copyright (c) 2004, Intel Corporation \r
4All rights reserved. This program and the accompanying materials \r
5are licensed and made available under the terms and conditions of the BSD License \r
6which accompanies this distribution. The full text of the license may be found at \r
7http://opensource.org/licenses/bsd-license.php \r
8 \r
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
10WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
11\r
12Module Name:\r
13\r
14 PeiTransferControl.h\r
15 \r
16Abstract:\r
17\r
18 GUID for the SetJump()/LongJump() APIs shared between PEI and DXE\r
19\r
20--*/\r
21\r
22#ifndef _PEI_TRANSFER_CONTROL_H_\r
23#define _PEI_TRANSFER_CONTROL_H_\r
24\r
25#define EFI_PEI_TRANSFER_CONTROL_GUID \\r
26 { 0xd8117d02, 0x94a6, 0x11d4, 0x9a, 0x3a, 0x0, 0x90, 0x27, 0x3f, 0xc1, 0x4d }\r
27\r
28\r
29EFI_FORWARD_DECLARATION (EFI_PEI_TRANSFER_CONTROL_PROTOCOL);\r
30\r
31typedef \r
32EFI_STATUS\r
33(EFIAPI *EFI_PEI_TRANSFER_CONTROL_SET_JUMP) (\r
34 IN EFI_PEI_TRANSFER_CONTROL_PROTOCOL *This,\r
35 OUT VOID *Context\r
36 );\r
37\r
38typedef \r
39EFI_STATUS\r
40(EFIAPI *EFI_PEI_TRANSFER_CONTROL_LONG_JUMP) (\r
41 IN EFI_PEI_TRANSFER_CONTROL_PROTOCOL *This,\r
42 IN VOID *Context\r
43 );\r
44\r
b9bbec4f 45struct _EFI_PEI_TRANSFER_CONTROL_PROTOCOL {\r
3eb9473e 46 EFI_PEI_TRANSFER_CONTROL_LONG_JUMP SetJump;\r
47 EFI_PEI_TRANSFER_CONTROL_LONG_JUMP LongJump;\r
48 UINT32 JumpContextSize;\r
b9bbec4f 49};\r
3eb9473e 50\r
51extern EFI_GUID gEfiPeiTransferControlGuid;\r
52\r
53#endif\r