[edk2] [PATCH 0/3] Add S3SmmInitDone point

Star Zeng posted 3 patches 6 years, 9 months ago
Failed in applying to current master (apply log)
MdeModulePkg/Core/PiSmmCore/PiSmmCore.c            | 62 +++++++++++++++++++++-
MdeModulePkg/Core/PiSmmCore/PiSmmCore.h            | 26 ++++++++-
MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf          |  3 +-
MdeModulePkg/Include/Guid/S3SmmInitDone.h          | 27 ++++++++++
MdeModulePkg/MdeModulePkg.dec                      |  3 ++
UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c  | 42 ++++++++++-----
.../Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf   |  3 ++
7 files changed, 151 insertions(+), 15 deletions(-)
create mode 100644 MdeModulePkg/Include/Guid/S3SmmInitDone.h
[edk2] [PATCH 0/3] Add S3SmmInitDone point
Posted by Star Zeng 6 years, 9 months ago
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.

S3Resume will install the PPI and signal to SMM by communication,
and then PiSmmCore will install the protocol.

Star Zeng (3):
  MdeModulePkg: Add S3SmmInitDone definition
  MdeModulePkg PiSmmCore: Register SMI handler to install S3SmmInitDone
  UefiCpuPkg S3ResumePei: Signal S3SmmInitDone

 MdeModulePkg/Core/PiSmmCore/PiSmmCore.c            | 62 +++++++++++++++++++++-
 MdeModulePkg/Core/PiSmmCore/PiSmmCore.h            | 26 ++++++++-
 MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf          |  3 +-
 MdeModulePkg/Include/Guid/S3SmmInitDone.h          | 27 ++++++++++
 MdeModulePkg/MdeModulePkg.dec                      |  3 ++
 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c  | 42 ++++++++++-----
 .../Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf   |  3 ++
 7 files changed, 151 insertions(+), 15 deletions(-)
 create mode 100644 MdeModulePkg/Include/Guid/S3SmmInitDone.h

-- 
2.7.0.windows.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel