use new platform macros to access scheduling/per-cpu flags. fix execsmp wait()
[AROS.git] / workbench / tools / HDToolBox / debug.c
blob4ecfbc126e549d9a596525a4b9b2b1deeb423bfe
1 #include <stdio.h>
2 #include <stdarg.h>
3 #include <proto/exec.h>
4 #include "debug.h"
6 #ifndef __AROS__
7 #define RawPutChar(chr) \
8 LP1NR(0x204, RawPutChar, UBYTE, chr, d0, \
9 , SysBase)
11 void puttostr(register UBYTE chr asm("d0"))
13 RawPutChar(chr);
16 void kprintf(char *fmt, ...)
18 RawDoFmt(fmt, &fmt + 1, puttostr, NULL);
20 #endif