[edk2-devel] [PATCH V2 0/4] Add a pcd PcdBootManagerInBootOrder to control whether BootManager is in BootOrder

Gao, Zhichao zhichao.gao at intel.com
Fri Jul 19 08:09:17 UTC 2019


REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1979

V1:
UEFI spec 2.8 introduce a new variable L"RuntimeServicesSupported".
If some runtime sevices is not supported at runtime phase, the variable
should present at boot services. It is a bitmask value, the bit value of
zero indicate the related runtime services is not supported at runtime
phase.
Add the difinition and use it to control Capsule runtime services.

V2:
Adjust the indent of uni file.
Move the set variable function from CapsuleRuntimeDxe to RuntimeDxe.
Add 'EFIAPI' to the event function "UpdateRuntimeServicesSupported", lacking
of it would cause the GCC build failure.

Cc: Michael D Kinney <michael.d.kinney at intel.com>
Cc: Liming Gao <liming.gao at intel.com>
Cc: Jian J Wang <jian.j.wang at intel.com>
Cc: Hao A Wu <hao.a.wu at intel.com>
Cc: Ray Ni <ray.ni at intel.com>
Cc: Star Zeng <star.zeng at intel.com>
Cc: Sean Brogan <sean.brogan at microsoft.com>
Cc: Michael Turner <Michael.Turner at microsoft.com>
Cc: Bret Barkelew <Bret.Barkelew at microsoft.com>
Cc: Laszlo Ersek <lersek at redhat.com>
Signed-off-by: Zhichao Gao <zhichao.gao at intel.com>

Zhichao Gao (4):
  MdePkg/UefiSpec.h: Add define of runtime services support
  MdePkg: Add new pcd PcdRuntimeServicesSupport
  MdeModulePkg/RuntimeDxe: Set RuntimeServicesSupport base on Pcd
  MdeModulePkg/CapsuleRuntimeDxe: Implement RuntimeServicesSupported

 MdeModulePkg/Core/RuntimeDxe/Runtime.c        | 65 +++++++++++++++++-
 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf   |  8 ++-
 .../CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf   |  2 +
 .../CapsuleRuntimeDxe/CapsuleService.c        | 68 +++++++++++++++++++
 MdePkg/Include/Uefi/UefiSpec.h                | 15 ++++
 MdePkg/MdePkg.dec                             | 19 ++++++
 MdePkg/MdePkg.uni                             | 19 ++++++
 7 files changed, 194 insertions(+), 2 deletions(-)

-- 
2.21.0.windows.1


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#44028): https://edk2.groups.io/g/devel/message/44028
Mute This Topic: https://groups.io/mt/32524668/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-




More information about the edk2-devel-archive mailing list