ReactOS
0.4.15-dev-6042-g2eb6700
kdebugprint.h
Go to the documentation of this file.
1
#pragma once
2
3
extern
int
virtioDebugLevel
;
4
extern
int
bDebugPrint
;
5
typedef
void
(*
tDebugPrintFunc
)(
const
char
*
format
, ...);
6
extern
tDebugPrintFunc
VirtioDebugPrintProc
;
7
8
#define DPrintf(Level, MSG, ...) if ((!bDebugPrint) || Level > virtioDebugLevel) {} else VirtioDebugPrintProc(MSG, __VA_ARGS__)
9
10
#define DEBUG_ENTRY(level) DPrintf(level, "[%s]=>\n"
, __FUNCTION__)
11
#define DEBUG_EXIT_STATUS(level, status) DPrintf((status == NDIS_STATUS_SUCCESS ? level : 0), "[%s]<=0x%X\n"
, __FUNCTION__, (status))
bDebugPrint
int bDebugPrint
Definition:
ParaNdis-Debug.c:41
format
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
Definition:
gl.h:1546
void
Definition:
nsiface.idl:2307
tDebugPrintFunc
void(* tDebugPrintFunc)(const char *format,...)
Definition:
kdebugprint.h:5
VirtioDebugPrintProc
tDebugPrintFunc VirtioDebugPrintProc
Definition:
ParaNdis-Debug.c:146
virtioDebugLevel
int virtioDebugLevel
Definition:
ParaNdis-Debug.c:39
drivers
network
dd
netkvm
virtio
kdebugprint.h
Generated on Sat May 27 2023 06:05:16 for ReactOS by
1.9.6