]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Add EFI_DISPOSABLE_SECTION type defined in PI 1.2 specification.
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 19 Aug 2009 06:04:05 +0000 (06:04 +0000)
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 19 Aug 2009 06:04:05 +0000 (06:04 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9122 6f19259b-4bc3-4df7-8a09-765794883524

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