public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH 0/3] Add S3SmmInitDone point
@ 2018-03-02  5:15 Star Zeng
  2018-03-02  5:15 ` [PATCH 1/3] MdeModulePkg: Add S3SmmInitDone definition Star Zeng
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Star Zeng @ 2018-03-02  5:15 UTC (permalink / raw)
  To: edk2-devel; +Cc: Star Zeng

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



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-03-02 14:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-02  5:15 [PATCH 0/3] Add S3SmmInitDone point Star Zeng
2018-03-02  5:15 ` [PATCH 1/3] MdeModulePkg: Add S3SmmInitDone definition Star Zeng
2018-03-02  5:59   ` Yao, Jiewen
2018-03-02  5:15 ` [PATCH 2/3] MdeModulePkg PiSmmCore: Register SMI handler to install S3SmmInitDone Star Zeng
2018-03-02  6:00   ` Yao, Jiewen
2018-03-02  5:15 ` [PATCH 3/3] UefiCpuPkg S3ResumePei: Signal S3SmmInitDone Star Zeng
2018-03-02  6:01   ` Yao, Jiewen
2018-03-02 14:56   ` Laszlo Ersek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox