]> git.proxmox.com Git - mirror_edk2.git/commit - MdePkg/Include/Protocol/FirmwareManagement.h
MdePkg: Add definition for Fmp Capsule Dependency.
authorXu, Wei6 <wei6.xu@intel.com>
Fri, 10 Jan 2020 05:34:52 +0000 (13:34 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Sun, 19 Jan 2020 02:47:47 +0000 (02:47 +0000)
commit48997fe4d38f51c8fa362fca849a400ed8b01f51
treefc4a9427696b50655c5f56aa2e9b42fee576a6d2
parent430743a1e8cbef114f261e2b7ee8d2d07914f5b3
MdePkg: Add definition for Fmp Capsule Dependency.

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2421

Add new definitions for Fmp Capsule dependency in UEFI Spec 2.8.
1. Extend the Last Attempt Status with a value to indicate the firmware
update fails with unsatisfied dependencies.
2. Add the definition of dependency expression op-codes.
3. Add the definition of EFI_FIRMWARE_IMAGE_DEP which is an array of FMP
dependency expression op-codes.
4. Extend the EFI_FIRMWARE_IMAGE_DESCRIPTOR with a pointer to the array of
FMP dependency expression op-codes.
5. Extend the Image Attribute Definitions with IMAGE_ATTRIBUTE_DEPENDENCY
to indicate that there is and EFI_FIRMWARE_IMAGE_DEP section associated
with the image.
6. Update EFI_FIRMWARE_IMAGE_DESCRIPTOR_VERSION to 4.

Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Signed-off-by: Wei6 Xu <wei6.xu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
MdePkg/Include/Guid/SystemResourceTable.h
MdePkg/Include/Protocol/FirmwareManagement.h