summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Include/Guid
diff options
context:
space:
mode:
authorStar Zeng <star.zeng@intel.com>2017-12-08 18:04:54 +0800
committerStar Zeng <star.zeng@intel.com>2018-03-03 14:20:34 +0800
commit8f558d8aca1ef48dd1ce3fb517e0298bd6f97698 (patch)
tree0cd6b4c638209f127378bd0a5710c35067f9e18c /MdeModulePkg/Include/Guid
parentaebe5a36b6e960896671d3134c6b26f6735b7f53 (diff)
downloadedk2-8f558d8aca1ef48dd1ce3fb517e0298bd6f97698.tar.gz
edk2-8f558d8aca1ef48dd1ce3fb517e0298bd6f97698.tar.bz2
edk2-8f558d8aca1ef48dd1ce3fb517e0298bd6f97698.zip
MdeModulePkg: Add S3SmmInitDone definition
Add gEdkiiS3SmmInitDoneGuid, after S3 SMM initialization is done and before S3 boot script is executed, this GUID is installed as PPI in PEI and protocol in SMM environment. It allows for PEIMs or SMM drivers to hook this point and do the required tasks. Cc: Jiewen Yao <jiewen.yao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Diffstat (limited to 'MdeModulePkg/Include/Guid')
-rw-r--r--MdeModulePkg/Include/Guid/S3SmmInitDone.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/MdeModulePkg/Include/Guid/S3SmmInitDone.h b/MdeModulePkg/Include/Guid/S3SmmInitDone.h
new file mode 100644
index 0000000000..53fef8ed19
--- /dev/null
+++ b/MdeModulePkg/Include/Guid/S3SmmInitDone.h
@@ -0,0 +1,27 @@
+/** @file
+ After S3 SMM initialization is done and before S3 boot script is executed,
+ this GUID is installed as PPI in PEI and protocol in SMM environment.
+ It allows for PEIMs or SMM drivers to hook this point and do the required tasks.
+
+ Copyright (c) 2018, Intel Corporation. All rights reserved.<BR>
+ 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 __S3_SMM_INIT_DONE_H__
+#define __S3_SMM_INIT_DONE_H__
+
+#define EDKII_S3_SMM_INIT_DONE_GUID \
+ { \
+ 0x8f9d4825, 0x797d, 0x48fc, { 0x84, 0x71, 0x84, 0x50, 0x25, 0x79, 0x2e, 0xf6 } \
+ }
+
+extern EFI_GUID gEdkiiS3SmmInitDoneGuid;
+
+#endif