From: rsun3 Date: Tue, 1 Sep 2009 07:29:46 +0000 (+0000) Subject: Add into MdePkg definitions for the DXE SMM Ready To Lock protocol as defined in... X-Git-Tag: edk2-stable201903~17102 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=82eea366b7963d1af84da17bad91b90d19868c85;p=mirror_edk2.git 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 --- 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 #