mirror of https://github.com/acidanthera/audk.git
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>
This commit is contained in:
parent
aebe5a36b6
commit
8f558d8aca
|
@ -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
|
|
@ -406,6 +406,9 @@
|
|||
## Include/Guid/EndofS3Resume.h
|
||||
gEdkiiEndOfS3ResumeGuid = { 0x96f5296d, 0x05f7, 0x4f3c, {0x84, 0x67, 0xe4, 0x56, 0x89, 0x0e, 0x0c, 0xb5 } }
|
||||
|
||||
## Include/Guid/S3SmmInitDone.h
|
||||
gEdkiiS3SmmInitDoneGuid = { 0x8f9d4825, 0x797d, 0x48fc, { 0x84, 0x71, 0x84, 0x50, 0x25, 0x79, 0x2e, 0xf6 } }
|
||||
|
||||
[Ppis]
|
||||
## Include/Ppi/AtaController.h
|
||||
gPeiAtaControllerPpiGuid = { 0xa45e60d1, 0xc719, 0x44aa, { 0xb0, 0x7a, 0xaa, 0x77, 0x7f, 0x85, 0x90, 0x6d }}
|
||||
|
|
Loading…
Reference in New Issue