MCPcopy Create free account
hub / github.com/CloverHackyColor/CloverBootloader / DebugMsg

Function DebugMsg

BaseTools/Source/C/Common/EfiUtilityMsgs.c:316–359  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

314}
315
316VOID
317DebugMsg (
318 CHAR8 *FileName,
319 UINT32 LineNumber,
320 UINT64 MsgLevel,
321 CHAR8 *Text,
322 CHAR8 *MsgFmt,
323 ...
324 )
325/*++
326
327Routine Description:
328 Print a Debug message.
329
330Arguments:
331 FileName - typically the name of the utility printing the debug message, but
332 can be the name of a file being parsed.
333
334 LineNumber - the line number in FileName (parsers)
335
336 MsgLevel - Debug message print level (0~9)
337
338 Text - the text in question (parsers)
339
340 MsgFmt - the format string for the debug message. Can contain formatting
341 controls for use with varargs.
342
343Returns:
344 None.
345
346--*/
347{
348 va_list List;
349 //
350 // If the debug level is less than current print level, then do nothing.
351 //
352 if (MsgLevel < mPrintLogLevel) {
353 return ;
354 }
355
356 va_start (List, MsgFmt);
357 PrintMessage ("DEBUG", FileName, LineNumber, 0, Text, MsgFmt, List);
358 va_end (List);
359}
360
361VOID
362PrintMessage (

Callers 13

GenCrc32.cFile · 0.85
ParseFvInfFunction · 0.85
AddFileFunction · 0.85
UpdateResetVectorFunction · 0.85
GenerateFvImageFunction · 0.85
CalculateFvSizeFunction · 0.85
ParseCapInfFunction · 0.85
TianoCompress.cFile · 0.85
TestUtilityMessagesFunction · 0.85
OptionInitializationMethod · 0.85
AdjustBinMethod · 0.85
mainFunction · 0.85

Calls 1

PrintMessageFunction · 0.85

Tested by 1

TestUtilityMessagesFunction · 0.68