/** @file\r
The firmware volume related definitions in PI.\r
\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
+ Copyright (c) 2006 - 2013, 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
\r
- THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
- WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
+ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
\r
@par Revision Reference:\r
- PI Version 1.2B\r
+ PI Version 1.3\r
\r
**/\r
\r
\r
//\r
// Value of EFI_FV_FILE_ATTRIBUTES.\r
-// \r
+//\r
#define EFI_FV_FILE_ATTRIB_ALIGNMENT 0x0000001F\r
#define EFI_FV_FILE_ATTRIB_FIXED 0x00000100\r
#define EFI_FV_FILE_ATTRIB_MEMORY_MAPPED 0x00000200\r
\r
///\r
/// type of EFI FVB attribute\r
-/// \r
+///\r
typedef UINT32 EFI_FVB_ATTRIBUTES_2;\r
\r
-// \r
+//\r
// Attributes bit definitions\r
-// \r
+//\r
#define EFI_FVB2_READ_DISABLED_CAP 0x00000001\r
#define EFI_FVB2_READ_ENABLED_CAP 0x00000002\r
#define EFI_FVB2_READ_STATUS 0x00000004\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
#define EFI_FVB2_ALIGNMENT_512M 0x001D0000\r
#define EFI_FVB2_ALIGNMENT_1G 0x001E0000\r
#define EFI_FVB2_ALIGNMENT_2G 0x001F0000\r
-\r
+#define EFI_FVB2_WEAK_ALIGNMENT 0x80000000\r
\r
typedef struct {\r
///\r
///\r
typedef struct {\r
///\r
- /// The first 16 bytes are reserved to allow for the reset vector of \r
+ /// The first 16 bytes are reserved to allow for the reset vector of\r
/// processors whose reset vector is at address 0.\r
///\r
UINT8 ZeroVector[16];\r
\r
///\r
/// Extension header pointed by ExtHeaderOffset of volume header.\r
-/// \r
+///\r
typedef struct {\r
///\r
/// Firmware volume name.\r
\r
///\r
/// Entry struture for describing FV extension header\r
-/// \r
+///\r
typedef struct {\r
///\r
/// Size of this header extension.\r
#define EFI_FV_EXT_TYPE_OEM_TYPE 0x01\r
///\r
/// This extension header provides a mapping between a GUID and an OEM file type.\r
-/// \r
+///\r
typedef struct {\r
///\r
/// Standard extension entry, with the type EFI_FV_EXT_TYPE_OEM_TYPE.\r
UINT32 TypeMask;\r
///\r
/// An array of GUIDs, each GUID representing an OEM file type.\r
- /// \r
- EFI_GUID Types[1];\r
+ ///\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
/// An arry of bytes of length Length.\r
///\r
- UINT8 Data[1];\r
+ /// UINT8 Data[1];\r
+ ///\r
} EFI_FIRMWARE_VOLUME_EXT_ENTRY_GUID_TYPE;\r
\r
#endif\r