muimaster.library: update minor version
[AROS.git] / arch / m68k-amiga / boot / debug.h
blob6b698903c8654b19fcea859361e90c4f42c7e795
1 /*
2 * Copyright (C) 2011, The AROS Development Team. All rights reserved.
3 * Author: Jason S. McMullan <jason.mcmullan@gmail.com>
5 * Licensed under the AROS PUBLIC LICENSE (APL) Version 1.1
6 */
8 #ifndef DEBUG_H
9 #define DEBUG_H
11 #include <aros/config.h>
13 void DebugInit(void);
14 int DebugPutChar(register int chr);
15 int DebugMayGetChar(void);
17 #if AROS_SERIAL_DEBUG
18 void DebugPutStr(register const char *buff);
19 void DebugPutHex(const char *what, ULONG val);
20 void DebugPutDec(const char *what, ULONG val);
21 void DebugPutHexVal(ULONG val);
23 #define DEBUGPUTS(x) do { DebugPutStr x; } while(0)
24 #define DEBUGPUTD(x) do { DebugPutDec x; } while(0)
25 #define DEBUGPUTHEX(x) do { DebugPutHex x; } while(0)
26 #else
27 #define DEBUGPUTS(x) do { } while (0)
28 #define DEBUGPUTD(x) do { } while (0)
29 #define DEBUGPUTHEX(x) do { } while (0)
30 #endif
32 #endif /* DEBUG_H */