summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorniruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524>2010-03-10 00:29:47 +0000
committerniruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524>2010-03-10 00:29:47 +0000
commit6a18d374776381ba66add56db64b15738945e8e2 (patch)
treea415d7ad0055aa0e5b9e50879cc351eecdbfe365
parenta914195090f7bb40e694fc6ac04f73a8384a5df2 (diff)
downloadedk2-platforms-6a18d374776381ba66add56db64b15738945e8e2.tar.xz
Add the BootState GUID to EdkCompatibilityPkg.dec and the accordingly GUID header file.
It’s to let the ECP platform boot in minimal mode in the non-first boot. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10217 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--EdkCompatibilityPkg/Compatibility/Include/Guid/BootState.h22
-rw-r--r--EdkCompatibilityPkg/EdkCompatibilityPkg.dec1
2 files changed, 23 insertions, 0 deletions
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 }}