From: Ruiyu Ni <ruiyu.ni@intel.com>
To: edk2-devel@lists.01.org
Subject: [PATCH 0/4] Defer 3rd party images loading to after EndOfDxe
Date: Fri, 4 Nov 2016 08:59:38 +0800 [thread overview]
Message-ID: <20161104005942.345832-1-ruiyu.ni@intel.com> (raw)
The patches change the default image loading policy by deferring 3rd
party images loading to after EndOfDxe and add a new BDS API to
dispatch the deferred images.
Platform needs to call the new BDS API
EfiBootManagerDispatchDeferredImages after EndOfDxe to ensure that
any deferred images are loaded.
Ruiyu Ni (4):
MdeModulePkg/SecurityStubDxe: Defer 3rd party image before EndOfDxe
MdeModulePkg/UefiBootManager: Add EfiBootManagerDispatchDeferredImages
MdeModulePkg/BdsDxe: Check deferred images before booting to OS
MdeModulePkg/SecurityStubDxe: Report failure if image is load earlier
MdeModulePkg/Include/Library/UefiBootManagerLib.h | 13 +
MdeModulePkg/Library/UefiBootManagerLib/BmMisc.c | 113 ++++++
.../Library/UefiBootManagerLib/InternalBm.h | 1 +
.../UefiBootManagerLib/UefiBootManagerLib.inf | 1 +
MdeModulePkg/Universal/BdsDxe/Bds.h | 4 +-
MdeModulePkg/Universal/BdsDxe/BdsDxe.inf | 2 +
MdeModulePkg/Universal/BdsDxe/BdsEntry.c | 89 +++++
.../SecurityStubDxe/Defer3rdPartyImageLoad.c | 413 +++++++++++++++++++++
.../SecurityStubDxe/Defer3rdPartyImageLoad.h | 95 +++++
.../Universal/SecurityStubDxe/SecurityStub.c | 14 +-
.../Universal/SecurityStubDxe/SecurityStubDxe.inf | 11 +-
11 files changed, 753 insertions(+), 3 deletions(-)
create mode 100644 MdeModulePkg/Universal/SecurityStubDxe/Defer3rdPartyImageLoad.c
create mode 100644 MdeModulePkg/Universal/SecurityStubDxe/Defer3rdPartyImageLoad.h
--
2.9.0.windows.1
next reply other threads:[~2016-11-04 0:59 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-04 0:59 Ruiyu Ni [this message]
2016-11-04 0:59 ` [PATCH 1/4] MdeModulePkg/SecurityStubDxe: Defer 3rd party image before EndOfDxe Ruiyu Ni
2016-11-10 7:42 ` Zhang, Chao B
2016-11-04 0:59 ` [PATCH 2/4] MdeModulePkg/UefiBootManager: Add EfiBootManagerDispatchDeferredImages Ruiyu Ni
2016-11-04 0:59 ` [PATCH 3/4] MdeModulePkg/BdsDxe: Check deferred images before booting to OS Ruiyu Ni
2016-11-04 0:59 ` [PATCH 4/4] MdeModulePkg/SecurityStubDxe: Report failure if image is load earlier Ruiyu Ni
2016-11-07 14:07 ` Laszlo Ersek
2016-11-10 7:27 ` Yao, Jiewen
2016-11-04 5:14 ` [PATCH 0/4] Defer 3rd party images loading to after EndOfDxe Gao, Liming
2016-11-04 6:09 ` Ni, Ruiyu
2016-11-04 16:48 ` Laszlo Ersek
2016-11-07 2:32 ` Ni, Ruiyu
2016-11-07 14:03 ` 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=20161104005942.345832-1-ruiyu.ni@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