]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Include/Guid/BootScriptExecutorVariable.h
MdeModulePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdeModulePkg / Include / Guid / BootScriptExecutorVariable.h
1 /** @file
2 Define Name, GUID and data format for an EFI Variable that is used to save the entry point
3 of a code segment which will be loaded and executed by a standalone boot script
4 executor on S3 boot path.
5
6 Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
7
8 SPDX-License-Identifier: BSD-2-Clause-Patent
9
10 **/
11
12 #ifndef _BOOT_SCRIPT_EXECUTOR_VARIABLE_H_
13 #define _BOOT_SCRIPT_EXECUTOR_VARIABLE_H_
14
15 #define EFI_BOOT_SCRIPT_EXECUTOR_VARIABLE_GUID \
16 { \
17 0x3079818c, 0x46d4, 0x4a73, {0xae, 0xf3, 0xe3, 0xe4, 0x6c, 0xf1, 0xee, 0xdb} \
18 }
19
20 //
21 // The following structure boosts performance by combining structure all ACPI related variables into one.
22 //
23 #pragma pack(1)
24
25 typedef struct {
26 EFI_PHYSICAL_ADDRESS BootScriptExecutorEntrypoint;
27 } BOOT_SCRIPT_EXECUTOR_VARIABLE;
28
29 #pragma pack()
30
31 #define BOOT_SCRIPT_EXECUTOR_VARIABLE_NAME L"BootScriptExecutorVariable"
32
33 extern EFI_GUID gEfiBootScriptExecutorVariableGuid;
34
35 #define EFI_BOOT_SCRIPT_EXECUTOR_CONTEXT_GUID \
36 { \
37 0x79cb58c4, 0xac51, 0x442f, {0xaf, 0xd7, 0x98, 0xe4, 0x7d, 0x2e, 0x99, 0x8} \
38 }
39
40 extern EFI_GUID gEfiBootScriptExecutorContextGuid;
41
42 #endif