]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdePkg: Follow PI1.4a to update the comments of EndOfDxe and SmmReadyToLock
authorStar Zeng <star.zeng@intel.com>
Fri, 20 May 2016 02:47:23 +0000 (10:47 +0800)
committerStar Zeng <star.zeng@intel.com>
Mon, 23 May 2016 02:11:05 +0000 (10:11 +0800)
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
MdePkg/Include/Protocol/DxeSmmReadyToLock.h
MdePkg/Include/Protocol/SmmEndOfDxe.h
MdePkg/Include/Protocol/SmmReadyToLock.h

index 27045578aa44c273bd82138da7dfe1d1a8f9a147..a52a8a2c34c6ac4586827b71f4ed038ab84b3714 100644 (file)
@@ -1,11 +1,23 @@
 /** @file\r
-  DXE SMM Ready To Lock protocol as defined in the PI 1.2 specification.\r
-\r
-  This UEFI protocol indicates that SMM is about to be locked.\r
-  This protocol is a mandatory protocol published by a DXE driver prior to invoking the \r
-  EFI_SMM_ACCESS2_PROTOCOL.Lock() function to lock SMM. \r
-\r
-  Copyright (c) 2009, Intel Corporation. All rights reserved.<BR>\r
+  DXE SMM Ready To Lock protocol introduced in the PI 1.2 specification.\r
+\r
+  According to PI 1.4a specification, this UEFI protocol indicates that\r
+  resources and services that should not be used by the third party code\r
+  are about to be locked.\r
+  This protocol is a mandatory protocol published by PI platform code.\r
+  This protocol in tandem with the End of DXE Event facilitates transition\r
+  of the platform from the environment where all of the components are\r
+  under the authority of the platform manufacturer to the environment where\r
+  third party extensible modules such as UEFI drivers and UEFI applications\r
+  are executed. The protocol is published immediately after signaling of the\r
+  End of DXE Event. PI modules that need to lock or protect their resources\r
+  in anticipation of the invocation of 3rd party extensible modules should\r
+  register for notification on installation of this protocol and effect the\r
+  appropriate protections in their notification handlers. For example, PI\r
+  platform code may choose to use notification handler to lock SMM by invoking\r
+  EFI_SMM_ACCESS2_PROTOCOL.Lock() function.\r
+\r
+  Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.<BR>\r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
index 4637ca1df372940ed7c31f73ff40e3a4e3e685d1..e92ce4afbf51446c37a858107abe55e53463959a 100644 (file)
@@ -1,11 +1,15 @@
 /** @file\r
-  SMM End Of Dxe protocol as defined in the PI 1.2.1 specification.\r
+  SMM End Of Dxe protocol introduced in the PI 1.2.1 specification.\r
 \r
-  This protocol is a mandatory protocol published by the PI platform code prior to invoking any\r
-  3rd party content, including options ROM's and UEFI executables that are not from the platform manufacturer.\r
-  There is an associated event GUID that is signaled for the DXE drivers called EFI_END_OF_DXE_EVENT_GUID.\r
+  According to PI 1.4a specification, this protocol indicates end of the\r
+  execution phase when all of the components are under the authority of\r
+  the platform manufacturer.\r
+  This protocol is a mandatory protocol published by SMM Foundation code.\r
+  This protocol is an SMM counterpart of the End of DXE Event.\r
+  This protocol prorogates End of DXE notification into SMM environment.\r
+  This protocol is installed prior to installation of the SMM Ready to Lock Protocol.\r
 \r
-  Copyright (c) 2012 - 2015, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2012 - 2016, Intel Corporation. All rights reserved.<BR>\r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
index 59c92327a9419043b3dd7996ceff565933d82daa..edf171923a386cbe29c79719a329e1f84eac8c38 100644 (file)
@@ -1,12 +1,17 @@
 /** @file\r
-  SMM Ready To Lock protocol as defined in the PI 1.2 specification.\r
-\r
-  This SMM protocol indicates that SMM is about to be locked.\r
-  This protocol is a mandatory protocol published by the SMM Foundation code when the system is \r
-  preparing to lock SMM. This protocol should be installed immediately after\r
-  EFI_END_OF_DXE_EVENT_GROUP_GUID with no intervening modules dispatched.\r
-\r
-  Copyright (c) 2009 - 2015, Intel Corporation. All rights reserved.<BR>\r
+  SMM Ready To Lock protocol introduced in the PI 1.2 specification.\r
+\r
+  According to PI 1.4a specification, this SMM protocol indicates that\r
+  SMM resources and services that should not be used by the third party\r
+  code are about to be locked.\r
+  This protocol is a mandatory protocol published by the SMM Foundation\r
+  code when the system is preparing to lock certain resources and interfaces\r
+  in anticipation of the invocation of 3rd party extensible modules.\r
+  This protocol is an SMM counterpart of the DXE SMM Ready to Lock Protocol.\r
+  This protocol prorogates resource locking notification into SMM environment.\r
+  This protocol is installed after installation of the SMM End of DXE Protocol.\r
+\r
+  Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.<BR>\r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r