Home | History | Annotate | Download | only in Guid
      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 - 2010, Intel Corporation. All rights reserved.<BR>
      7 
      8   This program and the accompanying materials
      9   are licensed and made available under the terms and conditions
     10   of the BSD License which accompanies this distribution.  The
     11   full text of the license may be found at
     12   http://opensource.org/licenses/bsd-license.php
     13 
     14   THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
     15   WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
     16 
     17 **/
     18 
     19 #ifndef _BOOT_SCRIPT_EXECUTOR_VARIABLE_H_
     20 #define _BOOT_SCRIPT_EXECUTOR_VARIABLE_H_
     21 
     22 #define EFI_BOOT_SCRIPT_EXECUTOR_VARIABLE_GUID \
     23   { \
     24     0x3079818c, 0x46d4, 0x4a73, {0xae, 0xf3, 0xe3, 0xe4, 0x6c, 0xf1, 0xee, 0xdb} \
     25   }
     26 
     27 //
     28 // The following structure boosts performance by combining structure all ACPI related variables into one.
     29 //
     30 #pragma pack(1)
     31 
     32 typedef struct {
     33   EFI_PHYSICAL_ADDRESS  BootScriptExecutorEntrypoint;
     34 } BOOT_SCRIPT_EXECUTOR_VARIABLE;
     35 
     36 #pragma pack()
     37 
     38 #define BOOT_SCRIPT_EXECUTOR_VARIABLE_NAME  L"BootScriptExecutorVariable"
     39 
     40 extern EFI_GUID gEfiBootScriptExecutorVariableGuid;
     41 
     42 #define EFI_BOOT_SCRIPT_EXECUTOR_CONTEXT_GUID \
     43   { \
     44     0x79cb58c4, 0xac51, 0x442f, {0xaf, 0xd7, 0x98, 0xe4, 0x7d, 0x2e, 0x99, 0x8} \
     45   }
     46 
     47 extern EFI_GUID gEfiBootScriptExecutorContextGuid;
     48 
     49 #endif
     50