From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.31, mailfrom: zhichao.gao@intel.com) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by groups.io with SMTP; Wed, 07 Aug 2019 18:08:31 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 Aug 2019 18:08:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,358,1559545200"; d="scan'208";a="193036749" Received: from fieedk001.ccr.corp.intel.com ([10.239.33.119]) by fmsmga001.fm.intel.com with ESMTP; 07 Aug 2019 18:08:27 -0700 From: "Gao, Zhichao" To: devel@edk2.groups.io 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 Subject: [PATCH V3 00/15] MdeModulePkg: Transfer reset data Date: Thu, 8 Aug 2019 09:08:10 +0800 Message-Id: <20190808010825.16784-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. 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). Cc: Jian J Wang Cc: Hao Wu Cc: Ray Ni Cc: Star Zeng Cc: Laszlo Ersek Cc: Ard Biesheuvel Cc: Leif Lindholm Cc: Jordan Justen Cc: Maurice Ma Cc: Guo Dong Cc: Benjamin You Cc: Liming Gao Cc: Michael D Kinney Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Signed-off-by: Zhichao Gao 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 | 2 ++ OvmfPkg/OvmfPkgX64.dsc | 2 ++ UefiPayloadPkg/UefiPayloadPkgIa32.dsc | 2 ++ UefiPayloadPkg/UefiPayloadPkgIa32X64.dsc | 2 ++ 18 files changed, 36 insertions(+), 11 deletions(-) -- 2.21.0.windows.1