summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrsun3 <rsun3@6f19259b-4bc3-4df7-8a09-765794883524>2009-09-01 07:29:46 +0000
committerrsun3 <rsun3@6f19259b-4bc3-4df7-8a09-765794883524>2009-09-01 07:29:46 +0000
commit82eea366b7963d1af84da17bad91b90d19868c85 (patch)
tree8d5605bae1e17fcbf6d986ddea98fca0bf556e44
parentfc8f8b257bce9a3a221cf42cbb96be422d7a5b40 (diff)
downloadedk2-platforms-82eea366b7963d1af84da17bad91b90d19868c85.tar.xz
Add into MdePkg definitions for the DXE 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@9217 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--MdePkg/Include/Protocol/DxeSmmReadyToLock.h29
-rw-r--r--MdePkg/MdePkg.dec3
2 files changed, 32 insertions, 0 deletions
diff --git a/MdePkg/Include/Protocol/DxeSmmReadyToLock.h b/MdePkg/Include/Protocol/DxeSmmReadyToLock.h
new file mode 100644
index 0000000000..85e59a8aaf
--- /dev/null
+++ b/MdePkg/Include/Protocol/DxeSmmReadyToLock.h
@@ -0,0 +1,29 @@
+/** @file
+ DXE SMM Ready To Lock protocol as defined in the PI 1.2 specification.
+
+ This UEFI protocol indicates that SMM is about to be locked.
+ This protocol is a mandatory protocol published by a DXE driver prior to invoking the
+ EFI_SMM_ACCESS2_PROTOCOL.Lock() function 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 _DXE_SMM_READY_TO_LOCK_H_
+#define _DXE_SMM_READY_TO_LOCK_H_
+
+#define EFI_DXE_SMM_READY_TO_LOCK_PROTOCOL_GUID \
+ { \
+ 0x60ff8964, 0xe906, 0x41d0, { 0xaf, 0xed, 0xf2, 0x41, 0xe9, 0x74, 0xe0, 0x8e } \
+ }
+
+extern EFI_GUID gEfiDxeSmmReadyToLockProtocolGuid;
+
+#endif
diff --git a/MdePkg/MdePkg.dec b/MdePkg/MdePkg.dec
index 4226a44ce5..835fa989dd 100644
--- a/MdePkg/MdePkg.dec
+++ b/MdePkg/MdePkg.dec
@@ -593,6 +593,9 @@
## Include/Protocol/SmmReadyToLock.h
gEfiSmmReadyToLockProtocolGuid = { 0x47b7fa8c, 0xf4bd, 0x4af6, { 0x82, 0x00, 0x33, 0x30, 0x86, 0xf0, 0xd2, 0xc8 }}
+ ## Include/Protocol/DxeSmmReadyToLock.h
+ gEfiDxeSmmReadyToLockProtocolGuid = { 0x60ff8964, 0xe906, 0x41d0, { 0xaf, 0xed, 0xf2, 0x41, 0xe9, 0x74, 0xe0, 0x8e }}
+
#
# Protocols defined in UEFI2.1/UEFI2.0/EFI1.1
#