]>
Commit | Line | Data |
---|---|---|
3eb9473e | 1 | /*++\r |
2 | \r | |
3 | Copyright (c) 2004, Intel Corporation \r | |
4 | All rights reserved. This program and the accompanying materials \r | |
5 | are licensed and made available under the terms and conditions of the BSD License \r | |
6 | which accompanies this distribution. The full text of the license may be found at \r | |
7 | http://opensource.org/licenses/bsd-license.php \r | |
8 | \r | |
9 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r | |
10 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r | |
11 | \r | |
12 | Module Name:\r | |
13 | \r | |
14 | PeiTransferControl.h\r | |
15 | \r | |
16 | Abstract:\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 | |
29 | EFI_FORWARD_DECLARATION (EFI_PEI_TRANSFER_CONTROL_PROTOCOL);\r | |
30 | \r | |
31 | typedef \r | |
32 | EFI_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 | |
38 | typedef \r | |
39 | EFI_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 | |
45 | typedef struct _EFI_PEI_TRANSFER_CONTROL_PROTOCOL {\r | |
46 | EFI_PEI_TRANSFER_CONTROL_LONG_JUMP SetJump;\r | |
47 | EFI_PEI_TRANSFER_CONTROL_LONG_JUMP LongJump;\r | |
48 | UINT32 JumpContextSize;\r | |
49 | } EFI_PEI_TRANSFER_CONTROL_PROTOCOL;\r | |
50 | \r | |
51 | extern EFI_GUID gEfiPeiTransferControlGuid;\r | |
52 | \r | |
53 | #endif\r |