public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Star Zeng <star.zeng@intel.com>
To: edk2-devel@lists.01.org
Cc: Star Zeng <star.zeng@intel.com>
Subject: [PATCH 0/3] Add S3SmmInitDone point
Date: Fri,  2 Mar 2018 13:15:46 +0800	[thread overview]
Message-ID: <1519967749-5112-1-git-send-email-star.zeng@intel.com> (raw)

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



             reply	other threads:[~2018-03-02  5:09 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-02  5:15 Star Zeng [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1519967749-5112-1-git-send-email-star.zeng@intel.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox