From: lgao4 Date: Wed, 10 Mar 2010 02:17:49 +0000 (+0000) Subject: Add description for the added BootState guid. X-Git-Tag: edk2-stable201903~16116 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=8967d989f04abdacafb9227a1ca65a0e550b271f;p=mirror_edk2.git Add description for the added BootState guid. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10220 6f19259b-4bc3-4df7-8a09-765794883524 --- 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 } }