mirror of https://github.com/acidanthera/audk.git
MdePkg: Add FMP Capsule Image Header extension
Add bitmask to structure which gives a binary-inspectable mechanism to determine if a capsule contains an authentication section or depex section. (UEFI 2.8 errata a, mantis 2026) Signed-off-by: Oleksiy Yakovlev <oleksiyy@ami.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
parent
ea38791043
commit
67c25bcc3a
|
@ -79,13 +79,22 @@ typedef struct {
|
|||
/// therefore can be modified without changing the Auth data.
|
||||
///
|
||||
UINT64 UpdateHardwareInstance;
|
||||
|
||||
///
|
||||
/// A 64-bit bitmask that determines what sections are added to the payload.
|
||||
/// #define CAPSULE_SUPPORT_AUTHENTICATION 0x0000000000000001
|
||||
/// #define CAPSULE_SUPPORT_DEPENDENCY 0x0000000000000002
|
||||
///
|
||||
UINT64 ImageCapsuleSupport;
|
||||
} EFI_FIRMWARE_MANAGEMENT_CAPSULE_IMAGE_HEADER;
|
||||
|
||||
#pragma pack()
|
||||
|
||||
|
||||
#define EFI_FIRMWARE_MANAGEMENT_CAPSULE_HEADER_INIT_VERSION 0x00000001
|
||||
#define EFI_FIRMWARE_MANAGEMENT_CAPSULE_IMAGE_HEADER_INIT_VERSION 0x00000002
|
||||
#define EFI_FIRMWARE_MANAGEMENT_CAPSULE_IMAGE_HEADER_INIT_VERSION 0x00000003
|
||||
#define CAPSULE_SUPPORT_AUTHENTICATION 0x0000000000000001
|
||||
#define CAPSULE_SUPPORT_DEPENDENCY 0x0000000000000002
|
||||
|
||||
extern EFI_GUID gEfiFmpCapsuleGuid;
|
||||
|
||||
|
|
Loading…
Reference in New Issue