]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/C/Common/EfiUtilityMsgs.h
BaseTools/header.makefile: add "-Wno-restrict"
[mirror_edk2.git] / BaseTools / Source / C / Common / EfiUtilityMsgs.h
index 6c2f9d2989a527115ab8d2aac468b31b4376cb8e..40b5e10c08741c42ee497984694e556903acff30 100644 (file)
@@ -1,7 +1,8 @@
 /** @file\r
+Defines and prototypes for common EFI utility error and debug messages.\r
 \r
-Copyright (c) 2004 - 2008, Intel Corporation                                                         \r
-All rights reserved. This program and the accompanying materials                          \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
 http://opensource.org/licenses/bsd-license.php                                            \r
@@ -9,14 +10,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
-  EfiUtilityMsgs.h\r
-\r
-Abstract:\r
-\r
-  Defines and prototypes for common EFI utility error and debug messages.\r
-  \r
 **/\r
 \r
 #ifndef _EFI_UTILITY_MSGS_H_\r
@@ -70,6 +63,17 @@ SetUtilityName (
   )\r
 ;\r
 \r
+VOID\r
+PrintMessage (\r
+  CHAR8   *Type,\r
+  CHAR8   *FileName,\r
+  UINT32  LineNumber,\r
+  UINT32  MessageCode,\r
+  CHAR8   *Text,\r
+  CHAR8   *MsgFmt,\r
+  va_list List\r
+  );\r
+\r
 VOID\r
 Error (\r
   CHAR8   *FileName,\r
@@ -96,7 +100,7 @@ VOID
 DebugMsg (\r
   CHAR8   *FileName,\r
   UINT32  LineNumber,\r
-  UINT32  MsgLevel,\r
+  UINT64  MsgLevel,\r
   CHAR8   *OffendingText,\r
   CHAR8   *MsgFmt,\r
   ...\r
@@ -123,7 +127,7 @@ KeyMsg (
 \r
 VOID\r
 SetPrintLevel (\r
-  UINT32  LogLevel\r
+  UINT64  LogLevel\r
   );\r
 \r
 VOID\r