From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.115, mailfrom: zhichao.gao@intel.com) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by groups.io with SMTP; Tue, 07 May 2019 21:50:34 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 May 2019 21:50:33 -0700 X-ExtLoop1: 1 Received: from fieedk001.ccr.corp.intel.com ([10.239.33.119]) by orsmga002.jf.intel.com with ESMTP; 07 May 2019 21:50:31 -0700 From: "Gao, Zhichao" To: devel@edk2.groups.io Cc: Jian J Wang , Hao Wu , Ray Ni , Star Zeng , Liming Gao , Sean Brogan , Michael Turner , Bret Barkelew Subject: [PATCH V2 0/6] MdeModulePkg: Transfer reset data Date: Wed, 8 May 2019 12:49:33 +0800 Message-Id: <20190508044939.15744-1-zhichao.gao@intel.com> X-Mailer: git-send-email 2.21.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Cc: Hao Wu Cc: Ray Ni Cc: Star Zeng Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew 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