/** @file\r
\r
-Copyright 2006 - 2008, Intel Corporation \r
-All rights reserved. This program and the accompanying materials \r
+Copyright (c) 2006 - 2010, 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
#include <string.h>\r
#include "VirtualMemory.h"\r
#include "EfiUtilityMsgs.h"\r
+#include "ParseInf.h"\r
\r
#define EFI_PAGE_BASE_OFFSET_IN_LDR 0x70000\r
#define EFI_PAGE_BASE_ADDRESS (EFI_PAGE_BASE_OFFSET_IN_LDR + 0x20000)\r
--*/\r
{\r
printf ("%s v%d.%d -Utility to generate the EfiLoader image containing page table.\n", UTILITY_NAME, UTILITY_MAJOR_VERSION, UTILITY_MINOR_VERSION);\r
- printf ("Copyright (c) 2008 - 2009 Intel Corporation. All rights reserved.\n");\r
+ printf ("Copyright (c) 2008 - 2010 Intel Corporation. All rights reserved.\n");\r
}\r
\r
VOID\r
FileSize = ftell (NoPageFile);\r
fseek (NoPageFile, 0, SEEK_SET);\r
if (FileSize > gPageTableOffsetInFile) {\r
- Error (NoPageFileName, 0, 0x4002, "Invalid parameter option", "Input file size (0x%x) exceeds the Page Table Offset (0x%x)", FileSize, gPageTableOffsetInFile);\r
+ Error (NoPageFileName, 0, 0x4002, "Invalid parameter option", "Input file size (0x%lx) exceeds the Page Table Offset (0x%x)", FileSize, (unsigned) gPageTableOffsetInFile);\r
fclose (PageFile);\r
fclose (NoPageFile);\r
return -1;\r
return STATUS_ERROR;\r
}\r
if (TempValue > 9) {\r
- Error (NULL, 0, 1003, "Invalid option value", "Debug Level range is 0-9, currnt input level is %d", TempValue);\r
+ Error (NULL, 0, 1003, "Invalid option value", "Debug Level range is 0-9, currnt input level is %d", (int) TempValue);\r
return STATUS_ERROR;\r
}\r
argc -= 2;\r