summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrsun3 <rsun3@6f19259b-4bc3-4df7-8a09-765794883524>2009-09-01 07:19:16 +0000
committerrsun3 <rsun3@6f19259b-4bc3-4df7-8a09-765794883524>2009-09-01 07:19:16 +0000
commitfc8f8b257bce9a3a221cf42cbb96be422d7a5b40 (patch)
treeae9737457deb455c7cbbc2f11e7ef96e77e66b8a
parent978da3096dc89966866bff44e61d1984896bbfda (diff)
downloadedk2-platforms-fc8f8b257bce9a3a221cf42cbb96be422d7a5b40.tar.xz
Add into MdePkg definitions for SMM Ready To Lock protocol as defined in the PI 1.2 specification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9216 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--MdePkg/Include/Protocol/SmmReadyToLock.h29
-rw-r--r--MdePkg/MdePkg.dec3
2 files changed, 32 insertions, 0 deletions
diff --git a/MdePkg/Include/Protocol/SmmReadyToLock.h b/MdePkg/Include/Protocol/SmmReadyToLock.h
new file mode 100644
index 0000000000..e607156540
--- /dev/null
+++ b/MdePkg/Include/Protocol/SmmReadyToLock.h
@@ -0,0 +1,29 @@
+/** @file
+ SMM Ready To Lock protocol as defined in the PI 1.2 specification.
+
+ This SMM protocol indicates that SMM is about to be locked.
+ This protocol is a mandatory protocol published by the SMM Foundation code when the system is
+ preparing to lock SMM.
+
+ Copyright (c) 2009, 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 _SMM_READY_TO_LOCK_H_
+#define _SMM_READY_TO_LOCK_H_
+
+#define EFI_SMM_READY_TO_LOCK_PROTOCOL_GUID \
+ { \
+ 0x47b7fa8c, 0xf4bd, 0x4af6, { 0x82, 0x00, 0x33, 0x30, 0x86, 0xf0, 0xd2, 0xc8 } \
+ }
+
+extern EFI_GUID gEfiSmmReadyToLockProtocolGuid;
+
+#endif
diff --git a/MdePkg/MdePkg.dec b/MdePkg/MdePkg.dec
index e17a9ac4af..4226a44ce5 100644
--- a/MdePkg/MdePkg.dec
+++ b/MdePkg/MdePkg.dec
@@ -590,6 +590,9 @@
## Include/Protocol/SmmConfiguration.h
gEfiSmmConfigurationProtocolGuid= { 0x26eeb3de, 0xb689, 0x492e, {0x80, 0xf0, 0xbe, 0x8b, 0xd7, 0xda, 0x4b, 0xa7 }}
+ ## Include/Protocol/SmmReadyToLock.h
+ gEfiSmmReadyToLockProtocolGuid = { 0x47b7fa8c, 0xf4bd, 0x4af6, { 0x82, 0x00, 0x33, 0x30, 0x86, 0xf0, 0xd2, 0xc8 }}
+
#
# Protocols defined in UEFI2.1/UEFI2.0/EFI1.1
#