• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /** @file
2   GUID and Name are used to configure PcdBootState to DynamicHii PCD, which can
3   make EDKII core work with the EDK implementation.
4 
5   The EDK implementation may depend on this guid variable to check the boot state.
6   However, the EDKII core uses a dynamic PcdBootState to save the boot state. To be compatible with EDK implementations,
7   BootStateGuid and BootStateName are used to configure PcdBootState to DynamicHii PCD to
8   save the boot state as a variable.
9 
10 Copyright (c) 2010, Intel Corporation. All rights reserved.<BR>
11 This program and the accompanying materials
12 are licensed and made available under the terms and conditions of the BSD License
13 which accompanies this distribution.  The full text of the license may be found at
14 http://opensource.org/licenses/bsd-license.php.
15 
16 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
17 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
18 
19 **/
20 #ifndef _BOOT_STATE_H_
21 #define _BOOT_STATE_H_
22 
23 #define BOOT_STATE_VARIABLE_NAME  L"BootState"
24 
25 #define  EFI_BOOT_STATE_VARIABLE_GUID  \
26   { 0x60b5e939, 0xfcf, 0x4227, { 0xba, 0x83, 0x6b, 0xbe, 0xd4, 0x5b, 0xc0, 0xe3 } }
27 
28 extern EFI_GUID gEfiBootStateGuid;
29 
30 #endif
31