|
OpenCBM
|
Debugging help functions and definitions. More...
Go to the source code of this file.
Macros | |
| #define | DBG_USERMODE |
Functions | |
| void | DbgOutputIntoBuffer (unsigned long BufferNumber, const char *const Format,...) |
| Append something to the DebugBuffer. More... | |
Variables | |
| unsigned char | DbgBuffer [DBG_MAX_BUFFER][DBG_MAX_BUFFERLEN] |
| int | DbgBufferPos [DBG_MAX_BUFFER] |
| unsigned long | DbgFlags |
| #define DBG_USERMODE |
Mark: We are in user-space (for debug.h)
Definition at line 11 of file arch/windows/debug.c.
| void DbgOutputIntoBuffer | ( | unsigned long | BufferNumber, |
| const char *const | Format, | ||
| ... | |||
| ) |
Append something to the DebugBuffer.
This function appends a string to the DebugBuffer. It can be used with a format-string like printf().
| BufferNumber | The number of the DebugBuffer in which the content is to be written. |
| Format | A printf()-style format specifier |
| ... | The variables which are used as parameters for the printf() style format specifier. |
Definition at line 91 of file arch/windows/debug.c.
References DBG_MAX_BUFFERLEN, DbgBuffer, and DbgBufferPos.
| unsigned char DbgBuffer[DBG_MAX_BUFFER][DBG_MAX_BUFFERLEN] |
Buffers where the debug string will be build up before it is send to the system (or into memory)
Definition at line 26 of file arch/windows/debug.c.
Referenced by DbgOutputIntoBuffer().
| int DbgBufferPos[DBG_MAX_BUFFER] |
Index into the DbgBuffer buffers, for each one one index
Definition at line 29 of file arch/windows/debug.c.
Referenced by DbgOutputIntoBuffer().
| unsigned long DbgFlags |
initialize debugging flags
Definition at line 32 of file arch/windows/debug.c.
Referenced by cbm_get_debugging_flags(), cbm_init_registry(), cbm_isr(), and cbmiec_test_irq().
1.8.8