]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/C/GenFv/GenFvInternalLib.h
BaseTools/header.makefile: add "-Wno-restrict"
[mirror_edk2.git] / BaseTools / Source / C / GenFv / GenFvInternalLib.h
index 21993b5e7be493d081eb8932d5b2c8e49ccc4905..f039fa4dc7d82a60d44c0cd7ab57584e5652a689 100644 (file)
@@ -1,6 +1,8 @@
 /** @file\r
-\r
-Copyright (c) 2004 - 2013, Intel Corporation. All rights reserved.<BR>\r
+This file contains describes the public interfaces to the GenFvImage Library.\r
+The basic purpose of the library is to create Firmware Volume images.\r
+  \r
+Copyright (c) 2004 - 2014, 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
@@ -9,15 +11,6 @@ http://opensource.org/licenses/bsd-license.php
 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
-Module Name:\r
-  \r
-  GenFvInternalLib.h\r
-\r
-Abstract:\r
-\r
-  This file contains describes the public interfaces to the GenFvImage Library.\r
-  The basic purpose of the library is to create Firmware Volume images.\r
-\r
 **/\r
 \r
 #ifndef _EFI_GEN_FV_INTERNAL_LIB_H\r
@@ -168,7 +161,7 @@ Abstract:
 // VTF (Firmware Volume Top File) signatures\r
 //\r
 #define IA32_X64_VTF_SIGNATURE_OFFSET    0x14\r
-#define IA32_X64_VTF0_SIGNATURE EFI_SIGNATURE_32('V','T','F',0)\r
+#define IA32_X64_VTF0_SIGNATURE SIGNATURE_32('V','T','F',0)\r
 \r
 //\r
 // Defines to calculate the offset for PEI CORE entry points\r
@@ -214,7 +207,7 @@ Abstract:
 //\r
 typedef struct {\r
   UINTN Size;\r
-  CHAR8 ComponentName[_MAX_PATH];\r
+  CHAR8 ComponentName[MAX_LONG_FILE_PATH];\r
 } COMPONENT_INFO;\r
 \r
 //\r
@@ -227,12 +220,12 @@ typedef struct {
   BOOLEAN                 FvFileSystemGuidSet;\r
   EFI_GUID                FvNameGuid;\r
   BOOLEAN                 FvNameGuidSet;\r
-  CHAR8                   FvExtHeaderFile[_MAX_PATH];\r
+  CHAR8                   FvExtHeaderFile[MAX_LONG_FILE_PATH];\r
   UINTN                   Size;\r
   EFI_FVB_ATTRIBUTES_2    FvAttributes;\r
-  CHAR8                   FvName[_MAX_PATH];\r
+  CHAR8                   FvName[MAX_LONG_FILE_PATH];\r
   EFI_FV_BLOCK_MAP_ENTRY  FvBlocks[MAX_NUMBER_OF_FV_BLOCKS];\r
-  CHAR8                   FvFiles[MAX_NUMBER_OF_FILES_IN_FV][_MAX_PATH];\r
+  CHAR8                   FvFiles[MAX_NUMBER_OF_FILES_IN_FV][MAX_LONG_FILE_PATH];\r
   UINT32                  SizeofFvFiles[MAX_NUMBER_OF_FILES_IN_FV];\r
   BOOLEAN                 IsPiFvImage;\r
   INT8                    ForceRebase;\r
@@ -242,8 +235,8 @@ typedef struct {
   EFI_GUID                CapGuid;\r
   UINT32                  HeaderSize;\r
   UINT32                  Flags;\r
-  CHAR8                   CapName[_MAX_PATH];\r
-  CHAR8                   CapFiles[MAX_NUMBER_OF_FILES_IN_CAP][_MAX_PATH];\r
+  CHAR8                   CapName[MAX_LONG_FILE_PATH];\r
+  CHAR8                   CapFiles[MAX_NUMBER_OF_FILES_IN_CAP][MAX_LONG_FILE_PATH];\r
 } CAP_INFO;\r
 \r
 #pragma pack(1)\r