TianoCore EDK2 master
Loading...
Searching...
No Matches
EdkiiSystemFmpCapsule.h
Go to the documentation of this file.
1
10#ifndef __EDKII_SYSTEM_FMP_CAPSULE_GUID_H__
11#define __EDKII_SYSTEM_FMP_CAPSULE_GUID_H__
12
88#define EDKII_SYSTEM_FIRMWARE_IMAGE_DESCRIPTOR_SIGNATURE SIGNATURE_32('S', 'F', 'I', 'D')
89
90#pragma pack(1)
91typedef struct {
92 UINT32 Signature;
93 UINT32 HeaderLength; // Length of EDKII_SYSTEM_FIRMWARE_IMAGE_DESCRIPTOR, excluding NameString
94 UINT32 Length; // Length of the data structure, including NameString
95 // Below structure is similar as UEFI EFI_FIRMWARE_MANAGEMENT_PROTOCOL.GetPackageInfo()
96 UINT32 PackageVersion;
97 UINT32 PackageVersionNameStringOffset; // Offset from head, CHAR16 string including NULL terminate char
98 // Below structure is similar as UEFI EFI_FIRMWARE_IMAGE_DESCRIPTOR
99 UINT8 ImageIndex;
100 UINT8 Reserved[3];
101 EFI_GUID ImageTypeId;
102 UINT64 ImageId;
103 UINT32 ImageIdNameStringOffset; // Offset from head, CHAR16 string including NULL terminate char
104 UINT32 Version;
105 UINT32 VersionNameStringOffset; // Offset from head, CHAR16 string including NULL terminate char
106 UINT8 Reserved2[4];
107 UINT64 Size;
108 UINT64 AttributesSupported;
109 UINT64 AttributesSetting;
110 UINT64 Compatibilities;
111 UINT32 LowestSupportedImageVersion;
112 UINT32 LastAttemptVersion;
113 UINT32 LastAttemptStatus;
114 UINT8 Reserved3[4];
115 UINT64 HardwareInstance;
116 // real string data
117 // CHAR16 ImageIdNameStr[]; // CHAR16 string including NULL terminate char
118 // CHAR16 VersionNameStr[]; // CHAR16 string including NULL terminate char
119 // CHAR16 PackageVersionNameStr[]; // CHAR16 string including NULL terminate char
121#pragma pack()
122
141extern EFI_GUID gEdkiiSystemFmpCapsuleConfigFileGuid;
142extern EFI_GUID gEdkiiSystemFmpCapsuleDriverFvFileGuid;
143
144#endif
EFI_GUID gEdkiiSystemFirmwareImageDescriptorFileGuid
Definition: Base.h:213