2 * PROJECT: ReactOS VGA Display Driver
3 * LICENSE: Microsoft NT4 DDK Sample Code License
4 * FILE: boot/drivers/video/displays/vga/debug.c
5 * PURPOSE: Debug Support
6 * PROGRAMMERS: Copyright (c) 1992-1995 Microsoft Corporation
13 ULONG DebugLevel
= 0xFFFFFFFF;
15 /*****************************************************************************
17 * Routine Description:
19 * This function is variable-argument, level-sensitive debug print
21 * If the specified debug level for the print statement is lower or equal
22 * to the current debug level, the message will be printed.
26 * DebugPrintLevel - Specifies at which debugging level the string should
29 * DebugMessage - Variable argument ascii c string
35 ***************************************************************************/
39 ULONG DebugPrintLevel
,
48 va_start(ap
, DebugMessage
);
50 if (DebugPrintLevel
<= DebugLevel
)
52 EngDebugPrint(STANDARD_DEBUG_PREFIX
, DebugMessage
, ap
);