/** @file\r
The firmware volume related definitions in PI.\r
\r
- Copyright (c) 2006 - 2008, Intel Corporation \r
- All rights reserved. This program and the accompanying materials \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
http://opensource.org/licenses/bsd-license.php \r
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.2C\r
\r
**/\r
\r
#ifndef __PI_FIRMWAREVOLUME_H__\r
#define __PI_FIRMWAREVOLUME_H__\r
\r
-#include <ProcessorBind.h>\r
-\r
///\r
/// EFI_FV_FILE_ATTRIBUTES\r
///\r
#define EFI_FVB2_ALIGNMENT_64K 0x00100000\r
#define EFI_FVB2_ALIGNMENT_128K 0x00110000\r
#define EFI_FVB2_ALIGNMENT_256K 0x00120000\r
-#define EFI_FVB2_ALIGNMNET_512K 0x00130000\r
+#define EFI_FVB2_ALIGNMENT_512K 0x00130000\r
#define EFI_FVB2_ALIGNMENT_1M 0x00140000\r
#define EFI_FVB2_ALIGNMENT_2M 0x00150000\r
#define EFI_FVB2_ALIGNMENT_4M 0x00160000\r
///\r
/// An array of GUIDs, each GUID representing an OEM file type.\r
/// \r
- EFI_GUID Types[1];\r
+ /// EFI_GUID Types[1];\r
+ ///\r
} EFI_FIRMWARE_VOLUME_EXT_ENTRY_OEM_TYPE;\r
\r
+#define EFI_FV_EXT_TYPE_GUID_TYPE 0x0002\r
+\r
+///\r
+/// This extension header EFI_FIRMWARE_VOLUME_EXT_ENTRY_GUID_TYPE provides a vendor specific\r
+/// GUID FormatType type which includes a length and a successive series of data bytes.\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
+ ///\r
+} EFI_FIRMWARE_VOLUME_EXT_ENTRY_GUID_TYPE;\r
\r
#endif\r