MdeModulePkg: Add S3SmmInitDone definition
authorStar Zeng <>
Fri, 8 Dec 2017 10:04:54 +0000 (18:04 +0800)
committerStar Zeng <>
Sat, 3 Mar 2018 06:20:34 +0000 (14:20 +0800)
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 <>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Star Zeng <>
Reviewed-by: Jiewen Yao <>
MdeModulePkg/Include/Guid/S3SmmInitDone.h [new file with mode: 0644]

diff --git a/MdeModulePkg/Include/Guid/S3SmmInitDone.h b/MdeModulePkg/Include/Guid/S3SmmInitDone.h
new file mode 100644 (file)
index 0000000..53fef8e
--- /dev/null
@@ -0,0 +1,27 @@
+/** @file\r
+  After S3 SMM initialization is done and before S3 boot script is executed,\r
+  this GUID is installed as PPI in PEI and protocol in SMM environment. \r
+  It allows for PEIMs or SMM drivers to hook this point and do the required tasks.\r
+  Copyright (c) 2018, 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
+                                            \r
+#ifndef __S3_SMM_INIT_DONE_H__\r
+#define __S3_SMM_INIT_DONE_H__\r
+  { \\r
+    0x8f9d4825, 0x797d, 0x48fc, { 0x84, 0x71, 0x84, 0x50, 0x25, 0x79, 0x2e, 0xf6 } \\r
+  }\r
+extern EFI_GUID gEdkiiS3SmmInitDoneGuid;\r
index d1b1af5858808a80beff7b7e74a1f235e4667146..5d561ff48495323c5c7cd3ea48b28e8f7593fa18 100644 (file)
   ## Include/Guid/EndofS3Resume.h\r
   gEdkiiEndOfS3ResumeGuid = { 0x96f5296d, 0x05f7, 0x4f3c, {0x84, 0x67, 0xe4, 0x56, 0x89, 0x0e, 0x0c, 0xb5 } }\r
+  ## Include/Guid/S3SmmInitDone.h\r
+  gEdkiiS3SmmInitDoneGuid = { 0x8f9d4825, 0x797d, 0x48fc, { 0x84, 0x71, 0x84, 0x50, 0x25, 0x79, 0x2e, 0xf6 } }\r
   ## Include/Ppi/AtaController.h\r
   gPeiAtaControllerPpiGuid       = { 0xa45e60d1, 0xc719, 0x44aa, { 0xb0, 0x7a, 0xaa, 0x77, 0x7f, 0x85, 0x90, 0x6d }}\r