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.20, mailfrom: wei6.xu@intel.com) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by groups.io with SMTP; Mon, 24 Jun 2019 23:54:07 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Jun 2019 23:54:06 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,415,1557212400"; d="scan'208";a="336749655" Received: from shwdeopenpsi174.ccr.corp.intel.com ([10.239.157.39]) by orsmga005.jf.intel.com with ESMTP; 24 Jun 2019 23:54:04 -0700 From: "Xu, Wei6" To: devel@edk2.groups.io Cc: Jian J Wang , Hao A Wu , Michael D Kinney , Liming Gao , Chao B Zhang Subject: [edk2-devel][Patch 0/6] Implement Capsule On Disk. Date: Tue, 25 Jun 2019 14:53:56 +0800 Message-Id: <20190625065402.19296-1-wei6.xu@intel.com> X-Mailer: git-send-email 2.16.2.windows.1 This patch set implements Capsule On Disk feature. Please refer to the following wiki for the introduction of Capsule On Disk: https://github.com/tianocore/tianocore.github.io/wiki/UEFI-Capsule-on-Disk-Introducation Cc: Jian J Wang Cc: Hao A Wu Cc: Michael D Kinney Cc: Liming Gao Cc: Chao B Zhang Wei6 Xu (6): MdeModulePkg: Add Capsule On Disk related definition. MdeModulePkg/BdsDxe: Support Capsule On Disk. MdeModulePkg/CapsuleRuntimeDxe: Introduce PCD to control this feature. MdeModulePkg/DxeIpl: Support Capsule On Disk. MdeModulePkg: Add Capsule On Disk APIs into CapsuleLib. MdeModulePkg: Add CapsuleOnDiskLoadPei PEIM. MdeModulePkg/Core/DxeIplPeim/DxeIpl.h | 3 +- MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf | 20 +- MdeModulePkg/Core/DxeIplPeim/DxeLoad.c | 30 +- MdeModulePkg/Include/Library/CapsuleLib.h | 78 +- MdeModulePkg/Include/Ppi/CapsuleOnDisk.h | 55 + .../Library/DxeCapsuleLibFmp/CapsuleOnDisk.c | 1969 ++++++++++++++++++++ .../Library/DxeCapsuleLibFmp/CapsuleOnDisk.h | 75 + .../Library/DxeCapsuleLibFmp/DxeCapsuleLib.c | 57 +- .../Library/DxeCapsuleLibFmp/DxeCapsuleLib.inf | 21 +- .../DxeCapsuleLibFmp/DxeCapsuleProcessLib.c | 120 +- .../Library/DxeCapsuleLibFmp/DxeCapsuleReportLib.c | 67 +- .../DxeCapsuleLibFmp/DxeCapsuleReportLibNull.c | 6 +- .../DxeCapsuleLibFmp/DxeRuntimeCapsuleLib.inf | 3 +- .../Library/DxeCapsuleLibNull/DxeCapsuleLibNull.c | 85 +- MdeModulePkg/MdeModulePkg.dec | 48 + MdeModulePkg/MdeModulePkg.dsc | 4 + MdeModulePkg/MdeModulePkg.uni | 34 + MdeModulePkg/Universal/BdsDxe/BdsDxe.inf | 3 +- MdeModulePkg/Universal/BdsDxe/BdsEntry.c | 6 +- .../CapsuleOnDiskLoadPei/CapsuleOnDiskLoadPei.c | 437 +++++ .../CapsuleOnDiskLoadPei/CapsuleOnDiskLoadPei.inf | 64 + .../CapsuleOnDiskLoadPei/CapsuleOnDiskLoadPei.uni | 15 + .../CapsuleOnDiskLoadPeiExtra.uni | 14 + .../CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf | 1 + .../Universal/CapsuleRuntimeDxe/CapsuleService.c | 12 +- 25 files changed, 3183 insertions(+), 44 deletions(-) create mode 100644 MdeModulePkg/Include/Ppi/CapsuleOnDisk.h create mode 100644 MdeModulePkg/Library/DxeCapsuleLibFmp/CapsuleOnDisk.c create mode 100644 MdeModulePkg/Library/DxeCapsuleLibFmp/CapsuleOnDisk.h create mode 100644 MdeModulePkg/Universal/CapsuleOnDiskLoadPei/CapsuleOnDiskLoadPei.c create mode 100644 MdeModulePkg/Universal/CapsuleOnDiskLoadPei/CapsuleOnDiskLoadPei.inf create mode 100644 MdeModulePkg/Universal/CapsuleOnDiskLoadPei/CapsuleOnDiskLoadPei.uni create mode 100644 MdeModulePkg/Universal/CapsuleOnDiskLoadPei/CapsuleOnDiskLoadPeiExtra.uni -- 2.16.2.windows.1