]>
Commit | Line | Data |
---|---|---|
be46cd5f | 1 | /** @file\r |
2 | Define Name, GUID and data format for an EFI Variable that is used to save the entry point\r | |
3 | of a code segment which will be loaded and executed by a standalone boot script \r | |
4 | executor on S3 boot path.\r | |
5 | \r | |
6 | Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r | |
7 | \r | |
8 | This program and the accompanying materials\r | |
9 | are licensed and made available under the terms and conditions\r | |
10 | of the BSD License which accompanies this distribution. The\r | |
11 | full text of the license may be found at\r | |
12 | http://opensource.org/licenses/bsd-license.php\r | |
13 | \r | |
14 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
15 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
16 | \r | |
17 | **/\r | |
18 | \r | |
19 | #ifndef _BOOT_SCRIPT_EXECUTOR_VARIABLE_H_\r | |
20 | #define _BOOT_SCRIPT_EXECUTOR_VARIABLE_H_\r | |
21 | \r | |
22 | #define EFI_BOOT_SCRIPT_EXECUTOR_VARIABLE_GUID \\r | |
23 | { \\r | |
24 | 0x3079818c, 0x46d4, 0x4a73, {0xae, 0xf3, 0xe3, 0xe4, 0x6c, 0xf1, 0xee, 0xdb} \\r | |
25 | }\r | |
26 | \r | |
27 | //\r | |
28 | // The following structure boosts performance by combining structure all ACPI related variables into one.\r | |
29 | //\r | |
30 | #pragma pack(1)\r | |
31 | \r | |
32 | typedef struct {\r | |
33 | EFI_PHYSICAL_ADDRESS BootScriptExecutorEntrypoint;\r | |
34 | } BOOT_SCRIPT_EXECUTOR_VARIABLE;\r | |
35 | \r | |
36 | #pragma pack()\r | |
37 | \r | |
38 | #define BOOT_SCRIPT_EXECUTOR_VARIABLE_NAME L"BootScriptExecutorVariable"\r | |
39 | \r | |
40 | extern EFI_GUID gEfiBootScriptExecutorVariableGuid;\r | |
41 | \r | |
42 | #define EFI_BOOT_SCRIPT_EXECUTOR_CONTEXT_GUID \\r | |
43 | { \\r | |
44 | 0x79cb58c4, 0xac51, 0x442f, {0xaf, 0xd7, 0x98, 0xe4, 0x7d, 0x2e, 0x99, 0x8} \\r | |
45 | }\r | |
46 | \r | |
47 | extern EFI_GUID gEfiBootScriptExecutorContextGuid;\r | |
48 | \r | |
49 | #endif\r |