]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Pi/PiFirmwareFile.h
Add EFI_DISPOSABLE_SECTION type defined in PI 1.2 specification.
[mirror_edk2.git] / MdePkg / Include / Pi / PiFirmwareFile.h
index b39648b5451c3b12018323a7df88f50b879ff313..95d293ddfc38830dd91f67d353fd1651387145f8 100644 (file)
@@ -200,6 +200,17 @@ typedef struct {
   UINT8                       CompressionType;\r
 } EFI_COMPRESSION_SECTION;\r
 \r
+///\r
+/// An encapsulation section type in which the section data is disposable.\r
+/// A disposable section is an encapsulation section in which the section data may be disposed of during\r
+/// the process of creating or updating a firmware image without significant impact on the usefulness of\r
+/// the file. The Type field in the section header is set to EFI_SECTION_DISPOSABLE. This\r
+/// allows optional or descriptive data to be included with the firmware file which can be removed in\r
+/// order to conserve space. The contents of this section are implementation specific, but might contain\r
+/// debug data or detailed integration instructions.\r
+///\r
+typedef EFI_COMMON_SECTION_HEADER EFI_DISPOSABLE_SECTION;\r
+\r
 ///\r
 /// Leaf section which could be used to determine the dispatch order of DXEs.\r
 /// \r