summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--EdkCompatibilityPkg/Compatibility/Include/Guid/BootState.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/EdkCompatibilityPkg/Compatibility/Include/Guid/BootState.h b/EdkCompatibilityPkg/Compatibility/Include/Guid/BootState.h
index fef191b22e..8211328443 100644
--- a/EdkCompatibilityPkg/Compatibility/Include/Guid/BootState.h
+++ b/EdkCompatibilityPkg/Compatibility/Include/Guid/BootState.h
@@ -1,6 +1,12 @@
/** @file
- GUID for use conveying the boot-state to PEI.
+ GUID and Name is used to configure PcdBootState to DynamicHii PCD, which can
+ make EDKII core work with EDK implementation.
+ EDK implementation may depend on this guid variable to check boot state. But
+ EDKII core uses the dynamic PcdBootState to save boot state. To be compatible to EDK implementation,
+ BootStateGuid and BootStateName will be used to configure PcdBootState to DynamicHii PCD to
+ save boot state as variable.
+
Copyright (c) 2010, Intel Corporation
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
@@ -14,6 +20,8 @@
#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 } }