public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH v4 00/15] MdeModulePkg: Transfer reset data
@ 2019-08-12  3:07 Gao, Zhichao
  2019-08-12  3:07 ` [PATCH v4 01/15] MdeModulePkg: Add guids for capsule update Gao, Zhichao
                   ` (15 more replies)
  0 siblings, 16 replies; 23+ messages in thread
From: Gao, Zhichao @ 2019-08-12  3:07 UTC (permalink / raw)
  To: devel
  Cc: Jian J Wang, Hao Wu, Ray Ni, Star Zeng, Laszlo Ersek,
	Ard Biesheuvel, Leif Lindholm, Jordan Justen, Maurice Ma,
	Guo Dong, Benjamin You, Liming Gao, Michael D Kinney, Sean Brogan,
	Michael Turner, Bret Barkelew, Chasel Chiu

Indicate two guids gCapsuleArmedResetGuid and gCapsuleUpdateCompleteResetGuid
for capsule update. And define a struct which start with a null string and
followed by a EFI_GUID.

V2:
Add prefix Edkii to the new guids.
Move the new struct definition to ResetSystemLib.h.
Fix the wrong reset data to transfer.
Fix the comment of EfiResetSystem in RuntimeLib base on UEFI spec 2.8.

V3:
Drop 'Move the new struct definition to ResetSystemLib.h.' because the structure
would be only used in ResetUtilityLib
Using the API ResetSystemWithSubtype in ResetUtilityLib to transfer
a single GUID reset data.
Add ResetUtilityLib to the dsc files that contain CapsuleRuntimeDxe and
CapsuleLib (DxeCapsuleLib instance).

V4:
Format git config to show the [] section.
Fixed incorrect location of ResetUtilityLib in OvmfPkgIa32X64.dsc.

Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Hao Wu <hao.a.wu@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Leif Lindholm <leif.lindholm@linaro.org>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Maurice Ma <maurice.ma@intel.com>
Cc: Guo Dong <guo.dong@intel.com>
Cc: Benjamin You <benjamin.you@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Sean Brogan <sean.brogan@microsoft.com>
Cc: Michael Turner <Michael.Turner@microsoft.com>
Cc: Bret Barkelew <Bret.Barkelew@microsoft.com>
Cc: Chasel Chiu <chasel.chiu@intel.com>
Signed-off-by: Zhichao Gao <zhichao.gao@intel.com>


Bret Barkelew (3):
  MdeModulePkg: Add guids for capsule update
  MdeModulePkg/CapsuleRuntimeDxe: Transfer reset data
  MdeModulePkg/CapsuleLib: Transfer reset data

Zhichao Gao (12):
  MdeModulePkg: Add ResetUtilityLib to dsc file
  ArmVirtPkg/ArmVirtQemu.dsc: Add ResetUtilityLib to dsc file
  ArmVritPkg/ArmVirtQemuKernel.dsc: Add ResetUtilityLib to dsc file
  ArmVirtPkg/ArmVirtXen.dsc: Add ResetUtilityLib to dsc file
  EmulatorPkg/EmulatorPkg.dsc: Add ResetUtilityLib to dsc file
  OvmfPkg/OvmfPkgIa32.dsc: Add ResetUtilityLib to dsc file
  OvmfPkg/OvmfPkgIa32X64.dsc: Add ResetUtilityLib to dsc file
  OvmfPkg/OvmfPkgX64.dsc: Add ResetUtilityLib to dsc file
  UefiPayloadPkg/UefiPayloadPkgIa32.dsc: Add ResetUtilityLib to dsc file
  UefiPayloadPkg: Add ResetUtilityLib to UefiPayloadPkgIa32X64.dsc
  MdePkg/UefiRuntimeLib.h: Change the comment
  MdePkg/UefiRuntimeLib: Change the comment

 ArmVirtPkg/ArmVirtQemu.dsc                                | 1 +
 ArmVirtPkg/ArmVirtQemuKernel.dsc                          | 1 +
 ArmVirtPkg/ArmVirtXen.dsc                                 | 1 +
 EmulatorPkg/EmulatorPkg.dsc                               | 1 +
 MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.inf   | 2 ++
 .../Library/DxeCapsuleLibFmp/DxeCapsuleProcessLib.c       | 3 ++-
 MdeModulePkg/MdeModulePkg.dec                             | 4 ++++
 MdeModulePkg/MdeModulePkg.dsc                             | 1 +
 .../Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf     | 2 ++
 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleService.c | 2 +-
 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleService.h | 3 ++-
 MdePkg/Include/Library/UefiRuntimeLib.h                   | 8 ++++----
 MdePkg/Library/UefiRuntimeLib/RuntimeLib.c                | 8 ++++----
 OvmfPkg/OvmfPkgIa32.dsc                                   | 2 ++
 OvmfPkg/OvmfPkgIa32X64.dsc                                | 1 +
 OvmfPkg/OvmfPkgX64.dsc                                    | 2 ++
 UefiPayloadPkg/UefiPayloadPkgIa32.dsc                     | 2 ++
 UefiPayloadPkg/UefiPayloadPkgIa32X64.dsc                  | 2 ++
 18 files changed, 35 insertions(+), 11 deletions(-)

-- 
2.21.0.windows.1


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

end of thread, other threads:[~2019-08-12 15:28 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-12  3:07 [PATCH v4 00/15] MdeModulePkg: Transfer reset data Gao, Zhichao
2019-08-12  3:07 ` [PATCH v4 01/15] MdeModulePkg: Add guids for capsule update Gao, Zhichao
2019-08-12  3:07 ` [PATCH v4 02/15] MdeModulePkg: Add ResetUtilityLib to dsc file Gao, Zhichao
2019-08-12  3:07 ` [PATCH v4 03/15] ArmVirtPkg/ArmVirtQemu.dsc: " Gao, Zhichao
2019-08-12 13:49   ` Laszlo Ersek
2019-08-12 13:54     ` Laszlo Ersek
2019-08-12  3:07 ` [PATCH v4 04/15] ArmVritPkg/ArmVirtQemuKernel.dsc: " Gao, Zhichao
2019-08-12  3:07 ` [PATCH v4 05/15] ArmVirtPkg/ArmVirtXen.dsc: " Gao, Zhichao
2019-08-12  3:07 ` [PATCH v4 06/15] EmulatorPkg/EmulatorPkg.dsc: " Gao, Zhichao
2019-08-12  3:07 ` [PATCH v4 07/15] OvmfPkg/OvmfPkgIa32.dsc: " Gao, Zhichao
2019-08-12  3:07 ` [PATCH v4 08/15] OvmfPkg/OvmfPkgIa32X64.dsc: " Gao, Zhichao
2019-08-12 13:56   ` Laszlo Ersek
2019-08-12  3:07 ` [PATCH v4 09/15] OvmfPkg/OvmfPkgX64.dsc: " Gao, Zhichao
2019-08-12  3:07 ` [PATCH v4 10/15] UefiPayloadPkg/UefiPayloadPkgIa32.dsc: " Gao, Zhichao
2019-08-12 15:27   ` Guo Dong
2019-08-12  3:07 ` [PATCH v4 11/15] UefiPayloadPkg: Add ResetUtilityLib to UefiPayloadPkgIa32X64.dsc Gao, Zhichao
2019-08-12 15:28   ` Guo Dong
2019-08-12  3:07 ` [PATCH v4 12/15] MdeModulePkg/CapsuleRuntimeDxe: Transfer reset data Gao, Zhichao
2019-08-12  3:07 ` [PATCH v4 13/15] MdeModulePkg/CapsuleLib: " Gao, Zhichao
2019-08-12  3:07 ` [PATCH v4 14/15] MdePkg/UefiRuntimeLib.h: Change the comment Gao, Zhichao
2019-08-12  3:07 ` [PATCH v4 15/15] MdePkg/UefiRuntimeLib: " Gao, Zhichao
2019-08-12 14:01   ` [edk2-devel] " Laszlo Ersek
2019-08-12  5:10 ` [edk2-devel] [PATCH v4 00/15] MdeModulePkg: Transfer reset data Liming Gao

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