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. Cc: Jian J Wang <jian.j.w...@intel.com> Cc: Hao Wu <hao.a...@intel.com> Cc: Ray Ni <ray...@intel.com> Cc: Star Zeng <star.z...@intel.com> Cc: Liming Gao <liming....@intel.com> Cc: Sean Brogan <sean.bro...@microsoft.com> Cc: Michael Turner <michael.tur...@microsoft.com> Cc: Bret Barkelew <bret.barke...@microsoft.com> Bret Barkelew (2): MdeModulePkg/CapsuleRuntimeDxe: Transfer reset data MdeModulePkg/CapsuleLib: Transfer reset data Zhichao Gao (4): MdeModulePkg/ResetSystemLib.h: Add useful reset data definition MdeModulePkg/ResetUtilityLib: Replace the reset data difinition MdePkg/UefiRuntimeLib.h: Change the comment MdePkg/UefiRuntimeLib: Change the comment MdeModulePkg/Include/Library/ResetSystemLib.h | 9 +++++++ .../DxeCapsuleLibFmp/DxeCapsuleLib.inf | 4 +++- .../DxeCapsuleLibFmp/DxeCapsuleProcessLib.c | 12 ++++++++-- .../Library/ResetUtilityLib/ResetUtility.c | 15 +++--------- .../CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf | 2 ++ .../CapsuleRuntimeDxe/CapsuleService.c | 24 ++++++++++++------- .../CapsuleRuntimeDxe/CapsuleService.h | 3 ++- MdePkg/Include/Library/UefiRuntimeLib.h | 8 +++---- MdePkg/Library/UefiRuntimeLib/RuntimeLib.c | 8 +++---- 9 files changed, 52 insertions(+), 33 deletions(-) -- 2.21.0.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#40170): https://edk2.groups.io/g/devel/message/40170 Mute This Topic: https://groups.io/mt/31540321/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-