From 6a18d374776381ba66add56db64b15738945e8e2 Mon Sep 17 00:00:00 2001 From: niruiyu Date: Wed, 10 Mar 2010 00:29:47 +0000 Subject: [PATCH] =?UTF-8?q?Add=20the=20BootState=20GUID=20to=20EdkCompatib?= =?UTF-8?q?ilityPkg.dec=20and=20the=20accordingly=20GUID=20header=20file.?= =?UTF-8?q?=20It=E2=80=99s=20to=20let=20the=20ECP=20platform=20boot=20in?= =?UTF-8?q?=20minimal=20mode=20in=20the=20non-first=20boot.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10217 6f19259b-4bc3-4df7-8a09-765794883524 --- .../Compatibility/Include/Guid/BootState.h | 22 +++++++++++++++++++ EdkCompatibilityPkg/EdkCompatibilityPkg.dec | 1 + 2 files changed, 23 insertions(+) create mode 100644 EdkCompatibilityPkg/Compatibility/Include/Guid/BootState.h diff --git a/EdkCompatibilityPkg/Compatibility/Include/Guid/BootState.h b/EdkCompatibilityPkg/Compatibility/Include/Guid/BootState.h new file mode 100644 index 0000000000..fef191b22e --- /dev/null +++ b/EdkCompatibilityPkg/Compatibility/Include/Guid/BootState.h @@ -0,0 +1,22 @@ +/** @file + GUID for use conveying the boot-state to PEI. + + 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 + 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 EFI_BOOT_STATE_VARIABLE_GUID \ + { 0x60b5e939, 0xfcf, 0x4227, { 0xba, 0x83, 0x6b, 0xbe, 0xd4, 0x5b, 0xc0, 0xe3 } } + +extern EFI_GUID gEfiBootStateGuid; + +#endif diff --git a/EdkCompatibilityPkg/EdkCompatibilityPkg.dec b/EdkCompatibilityPkg/EdkCompatibilityPkg.dec index e9752f93eb..a0f1127949 100644 --- a/EdkCompatibilityPkg/EdkCompatibilityPkg.dec +++ b/EdkCompatibilityPkg/EdkCompatibilityPkg.dec @@ -57,6 +57,7 @@ [Guids] gEfiSmmBaseThunkCommunicationGuid = { 0x6568a3d6, 0x15f, 0x4b4a, { 0x9c, 0x89, 0x1d, 0x14, 0x63, 0x14, 0x13, 0xa } } + gEfiBootStateGuid = { 0x60b5e939, 0xfcf, 0x4227, { 0xba, 0x83, 0x6b, 0xbe, 0xd4, 0x5b, 0xc0, 0xe3 } } [Ppis] gEcpPeiPciCfgPpiGuid = { 0xb0ee53d4, 0xa049, 0x4a79, { 0xb2, 0xff, 0x19, 0xd9, 0xfa, 0xef, 0xaa, 0x94 }}