summaryrefslogtreecommitdiff
path: root/EdkCompatibilityPkg/Compatibility/Include/Guid/BootState.h
blob: 35d7f8adfff299f9a5937cf8ae55027423ef2365 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/** @file
  GUID and Name are used to configure PcdBootState to DynamicHii PCD, which can
  make EDKII core work with the EDK implementation.

  The EDK implementation may depend on this guid variable to check the boot state.  
  However, the EDKII core uses a dynamic PcdBootState to save the boot state. To be compatible with EDK implementations, 
  BootStateGuid and BootStateName are used to configure PcdBootState to DynamicHii PCD to
  save the boot state as a variable.
  
Copyright (c) 2010, Intel Corporation.  All rights reserved<BR>
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution.  The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php.

THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.

**/
#ifndef _BOOT_STATE_H_
#define _BOOT_STATE_H_

#define BOOT_STATE_VARIABLE_NAME  L"BootState"

#define  EFI_BOOT_STATE_VARIABLE_GUID  \
  { 0x60b5e939, 0xfcf, 0x4227, { 0xba, 0x83, 0x6b, 0xbe, 0xd4, 0x5b, 0xc0, 0xe3 } }

extern EFI_GUID gEfiBootStateGuid;

#endif