/** @file\r
+The tool dumps the contents of a firmware volume\r
\r
Copyright (c) 1999 - 2014, Intel Corporation. All rights reserved.<BR>\r
This program and the accompanying materials\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
-Module Name:\r
-\r
- VolInfo.c\r
-\r
-Abstract:\r
-\r
- The tool dumps the contents of a firmware volume\r
-\r
**/\r
\r
#include <stdio.h>\r
EFI_GUID gEfiCrc32GuidedSectionExtractionProtocolGuid = EFI_CRC32_GUIDED_SECTION_EXTRACTION_PROTOCOL_GUID;\r
\r
#define UTILITY_MAJOR_VERSION 0\r
-#define UTILITY_MINOR_VERSION 82\r
+#define UTILITY_MINOR_VERSION 83\r
\r
#define UTILITY_NAME "VolInfo"\r
\r
//\r
// Print utility header\r
//\r
- printf ("%s Tiano Firmware Volume FFS image info. Version %d.%d %s, %s\n",\r
+ printf ("%s Version %d.%d %s, %s\n",\r
UTILITY_NAME,\r
UTILITY_MAJOR_VERSION,\r
UTILITY_MINOR_VERSION,\r
//\r
// Open the file containing the FV\r
//\r
- InputFile = fopen (argv[0], "rb");\r
+ InputFile = fopen (LongFilePath (argv[0]), "rb");\r
if (InputFile == NULL) {\r
Error (NULL, 0, 0001, "Error opening the input file", argv[0]);\r
return GetUtilityStatus ();\r
CHAR8 Line[MAX_LINE_LEN];\r
GUID_TO_BASENAME *GPtr;\r
\r
- if ((Fptr = fopen (FileName, "r")) == NULL) {\r
+ if ((Fptr = fopen (LongFilePath (FileName), "r")) == NULL) {\r
printf ("ERROR: Failed to open input cross-reference file '%s'\n", FileName);\r
return EFI_DEVICE_ERROR;\r
}\r
// Copyright declaration\r
// \r
fprintf (stdout, "Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.\n\n");\r
+ fprintf (stdout, " Display Tiano Firmware Volume FFS image information\n\n");\r
\r
//\r
// Details Option\r