add a missing section header table index conversion
[tangerine.git] / compiler / arossupport / _kprintf.c
blob0be6c4a76d8f92318ad0a53b3448823dc28bb17b
1 /*
2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Low-level debugging support.
6 */
8 #include <exec/execbase.h>
9 #include <proto/exec.h>
10 #include <aros/asmcall.h>
11 #include <stdarg.h>
13 /* All I need is a global variable SysBase */
14 extern struct ExecBase *SysBase;
16 AROS_UFH2 (void, KPutChar,
17 AROS_UFHA(UBYTE, chr, D0),
18 AROS_UFHA(struct ExecBase *,SysBase,A3)
21 AROS_USERFUNC_INIT
22 RawPutChar(chr);
23 AROS_USERFUNC_EXIT
26 void KPrintF(STRPTR format, ...) __stackparm;
28 void KPrintF(STRPTR format, ...)
30 RawDoFmt(format,&format+1,(VOID_FUNC)KPutChar,SysBase);