]> git.proxmox.com Git - mirror_edk2.git/blame - EdkCompatibilityPkg/Sample/Tools/Source/GuidChk/UtilsMsgs.h
Remove debug #ifdef in USB HC init
[mirror_edk2.git] / EdkCompatibilityPkg / Sample / Tools / Source / GuidChk / UtilsMsgs.h
CommitLineData
3eb9473e 1/*++\r
2\r
3Copyright (c) 2004, Intel Corporation \r
4All rights reserved. This program and the accompanying materials \r
5are licensed and made available under the terms and conditions of the BSD License \r
6which accompanies this distribution. The full text of the license may be found at \r
7http://opensource.org/licenses/bsd-license.php \r
8 \r
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
10WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
11\r
12Module Name: \r
13\r
14 UtilsMsgs.h\r
15 \r
16Abstract:\r
17\r
18 Prototypes for the EFI tools utility functions.\r
19 \r
20--*/\r
21\r
22#ifndef _UTILS_MESSAGES_H_\r
23#define _UTILS_MESSAGES_H_\r
24\r
25STATUS\r
26GetUtilityStatus (\r
27 VOID\r
e00e1d46 28 );\r
3eb9473e 29\r
30//\r
31// If someone prints an error message and didn't specify a source file name,\r
32// then we print the utility name instead. However they must tell us the\r
33// utility name early on via this function.\r
34//\r
35VOID\r
36SetUtilityName (\r
37 INT8 *ProgramName\r
e00e1d46 38 );\r
3eb9473e 39\r
40void\r
41Error (\r
42 INT8 *FileName,\r
43 UINT32 LineNumber,\r
44 UINT32 ErrorCode,\r
45 INT8 *OffendingText,\r
46 INT8 *MsgFmt,\r
47 ...\r
e00e1d46 48 );\r
3eb9473e 49\r
50void\r
51Warning (\r
52 INT8 *FileName,\r
53 UINT32 LineNumber,\r
54 UINT32 ErrorCode,\r
55 INT8 *OffendingText,\r
56 INT8 *MsgFmt,\r
57 ...\r
e00e1d46 58 );\r
3eb9473e 59\r
60void\r
61DebugMsg (\r
62 INT8 *FileName,\r
63 UINT32 LineNumber,\r
64 UINT32 MsgLevel,\r
65 INT8 *OffendingText,\r
66 INT8 *MsgFmt,\r
67 ...\r
e00e1d46 68 );\r
3eb9473e 69\r
70void\r
71SetDebugMsgMask (\r
72 UINT32 MsgMask\r
e00e1d46 73 );\r
3eb9473e 74\r
75void\r
76ParserSetPosition (\r
77 INT8 *SourceFileName,\r
78 UINT32 LineNum\r
e00e1d46 79 );\r
3eb9473e 80\r
81void\r
82ParserError (\r
83 UINT32 ErrorCode,\r
84 INT8 *OffendingText,\r
85 INT8 *MsgFmt,\r
86 ...\r
e00e1d46 87 );\r
3eb9473e 88\r
89void\r
90ParserWarning (\r
91 UINT32 ErrorCode,\r
92 INT8 *OffendingText,\r
93 INT8 *MsgFmt,\r
94 ...\r
e00e1d46 95 );\r
3eb9473e 96\r
97#endif\r