]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Add new FV extension type 0x0002 and its related structure per PI1.2B.
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>
Sat, 12 Feb 2011 01:23:24 +0000 (01:23 +0000)
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>
Sat, 12 Feb 2011 01:23:24 +0000 (01:23 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11304 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Include/Pi/PiFirmwareVolume.h

index f37e37bf0cdf8f6aec65b9b22877ee03be068bd1..1f622bb9ba60903cf79fd8bee97ad7af0462e130 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   The firmware volume related definitions in PI.\r
 \r
-  Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>\r
   This program and the accompanying materials                          \r
   are licensed and made available under the terms and conditions of the BSD License         \r
   which accompanies this distribution.  The full text of the license may be found at        \r
@@ -11,7 +11,7 @@
   WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r
 \r
   @par Revision Reference:\r
-  PI Version 1.0\r
+  PI Version 1.2B\r
 \r
 **/\r
 \r
@@ -208,5 +208,24 @@ typedef struct {
   EFI_GUID  Types[1];\r
 } EFI_FIRMWARE_VOLUME_EXT_ENTRY_OEM_TYPE;\r
 \r
+#define EFI_FV_EXT_TYPE_GUID_TYPE 0x0002\r
+\r
+///\r
+/// This extension header provides a mapping between a GUID and an OEM file type.\r
+///\r
+typedef struct {\r
+  ///\r
+  /// Standard extension entry, with the type EFI_FV_EXT_TYPE_OEM_TYPE.\r
+  ///\r
+  EFI_FIRMWARE_VOLUME_EXT_ENTRY     Hdr;\r
+  ///\r
+  /// Vendor-specific GUID.\r
+  ///\r
+  EFI_GUID                          FormatType;\r
+  ///\r
+  /// An arry of bytes of length Length.\r
+  ///\r
+  UINT8                             Data[1];\r
+} EFI_FIRMWARE_VOLUME_EXT_ENTRY_GUID_TYPE;\r
 \r
 #endif\r