ReactOS  0.4.14-dev-49-gfb4591c
debug.h File Reference

Go to the source code of this file.

Macros

#define DPRINT_NONE   0
 
#define DPRINT_WARNING   1
 
#define DPRINT_MEMORY   2
 
#define DPRINT_FILESYSTEM   3
 
#define DPRINT_INIFILE   4
 
#define DPRINT_UI   5
 
#define DPRINT_DISK   6
 
#define DPRINT_CACHE   7
 
#define DPRINT_REGISTRY   8
 
#define DPRINT_REACTOS   9
 
#define DPRINT_LINUX   10
 
#define DPRINT_HWDETECT   11
 
#define DPRINT_WINDOWS   12
 
#define DPRINT_PELOADER   13
 
#define DPRINT_SCSIPORT   14
 
#define DPRINT_HEAP   15
 
#define DBG_CHANNELS_COUNT   16
 
#define DBG_DEFAULT_CHANNEL(ch)
 
#define ERR_CH(ch, fmt, ...)
 
#define FIXME_CH(ch, fmt, ...)
 
#define WARN_CH(ch, fmt, ...)
 
#define TRACE_CH(ch, fmt, ...)
 
#define ERR(fmt, ...)
 
#define FIXME(fmt, ...)
 
#define WARN(fmt, ...)
 
#define TRACE(fmt, ...)
 
#define UNIMPLEMENTED
 
#define DebugInit(FrLdrSectionId)
 
#define BugCheck(fmt, ...)
 
#define DbgDumpBuffer(mask, buf, len)
 
#define DbgParseDebugChannels(val)
 

Enumerations

enum  _FRLDR_BUGCHECK_CODES { TEST_BUGCHECK, MISSING_HARDWARE_REQUIREMENTS, FREELDR_IMAGE_CORRUPTION, MEMORY_INIT_FAILURE }
 

Functions

void NTAPI FrLdrBugCheck (ULONG BugCode)
 
VOID FrLdrBugCheckWithMessage (ULONG BugCode, PCHAR File, ULONG Line, PSTR Format,...)
 

Variables

charBugCodeStrings []
 
ULONG_PTR BugCheckInfo [5]
 

Macro Definition Documentation

◆ BugCheck

#define BugCheck (   fmt,
  ... 
)

Definition at line 117 of file debug.h.

◆ DBG_CHANNELS_COUNT

#define DBG_CHANNELS_COUNT   16

Definition at line 39 of file debug.h.

◆ DBG_DEFAULT_CHANNEL

#define DBG_DEFAULT_CHANNEL (   ch)

Definition at line 102 of file debug.h.

◆ DbgDumpBuffer

#define DbgDumpBuffer (   mask,
  buf,
  len 
)

Definition at line 118 of file debug.h.

◆ DbgParseDebugChannels

#define DbgParseDebugChannels (   val)

Definition at line 119 of file debug.h.

◆ DebugInit

#define DebugInit (   FrLdrSectionId)

Definition at line 116 of file debug.h.

◆ DPRINT_CACHE

#define DPRINT_CACHE   7

Definition at line 30 of file debug.h.

◆ DPRINT_DISK

#define DPRINT_DISK   6

Definition at line 29 of file debug.h.

◆ DPRINT_FILESYSTEM

#define DPRINT_FILESYSTEM   3

Definition at line 26 of file debug.h.

◆ DPRINT_HEAP

#define DPRINT_HEAP   15

Definition at line 38 of file debug.h.

◆ DPRINT_HWDETECT

#define DPRINT_HWDETECT   11

Definition at line 34 of file debug.h.

◆ DPRINT_INIFILE

#define DPRINT_INIFILE   4

Definition at line 27 of file debug.h.

◆ DPRINT_LINUX

#define DPRINT_LINUX   10

Definition at line 33 of file debug.h.

◆ DPRINT_MEMORY

#define DPRINT_MEMORY   2

Definition at line 25 of file debug.h.

◆ DPRINT_NONE

#define DPRINT_NONE   0

Definition at line 23 of file debug.h.

◆ DPRINT_PELOADER

#define DPRINT_PELOADER   13

Definition at line 36 of file debug.h.

◆ DPRINT_REACTOS

#define DPRINT_REACTOS   9

Definition at line 32 of file debug.h.

◆ DPRINT_REGISTRY

#define DPRINT_REGISTRY   8

Definition at line 31 of file debug.h.

◆ DPRINT_SCSIPORT

#define DPRINT_SCSIPORT   14

Definition at line 37 of file debug.h.

◆ DPRINT_UI

#define DPRINT_UI   5

Definition at line 28 of file debug.h.

◆ DPRINT_WARNING

#define DPRINT_WARNING   1

Definition at line 24 of file debug.h.

◆ DPRINT_WINDOWS

#define DPRINT_WINDOWS   12

Definition at line 35 of file debug.h.

◆ ERR

#define ERR (   fmt,
  ... 
)

Definition at line 109 of file debug.h.

◆ ERR_CH

#define ERR_CH (   ch,
  fmt,
  ... 
)

Definition at line 104 of file debug.h.

◆ FIXME

#define FIXME (   fmt,
  ... 
)

Definition at line 110 of file debug.h.

◆ FIXME_CH

#define FIXME_CH (   ch,
  fmt,
  ... 
)

Definition at line 105 of file debug.h.

◆ TRACE

#define TRACE (   fmt,
  ... 
)

Definition at line 112 of file debug.h.

◆ TRACE_CH

#define TRACE_CH (   ch,
  fmt,
  ... 
)

Definition at line 107 of file debug.h.

◆ UNIMPLEMENTED

#define UNIMPLEMENTED

Definition at line 114 of file debug.h.

◆ WARN

#define WARN (   fmt,
  ... 
)

Definition at line 111 of file debug.h.

◆ WARN_CH

#define WARN_CH (   ch,
  fmt,
  ... 
)

Definition at line 106 of file debug.h.

Enumeration Type Documentation

◆ _FRLDR_BUGCHECK_CODES

Enumerator
TEST_BUGCHECK 
MISSING_HARDWARE_REQUIREMENTS 
FREELDR_IMAGE_CORRUPTION 
MEMORY_INIT_FAILURE 

Definition at line 136 of file debug.h.

Function Documentation

◆ FrLdrBugCheck()

void NTAPI FrLdrBugCheck ( ULONG  BugCode)

Definition at line 244 of file i386bug.c.

245 {
246  FrLdrBugCheckEx(BugCode, 0, 0);
247 }
void NTAPI FrLdrBugCheckEx(ULONG BugCode, PCHAR File, ULONG Line)
Definition: i386bug.c:215

◆ FrLdrBugCheckWithMessage()

VOID FrLdrBugCheckWithMessage ( ULONG  BugCode,
PCHAR  File,
ULONG  Line,
PSTR  Format,
  ... 
)

Variable Documentation

◆ BugCheckInfo

ULONG_PTR BugCheckInfo[5]

Definition at line 512 of file debug.c.

Referenced by FrLdrBugCheckEx().

◆ BugCodeStrings

char* BugCodeStrings[]

Definition at line 504 of file debug.c.

Referenced by FrLdrBugCheckEx(), and FrLdrBugCheckWithMessage().