Removed autodocs of arch specific variants of ROM modules.
[AROS.git] / arch / ppc-chrp / exec / rawputchar.c
blobb85472fe3f9be298cd8562a82b1a23268efac944
1 /*
2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Emit one character via raw IO
6 Lang: english
7 */
9 #include <aros/libcall.h>
10 #include <proto/exec.h>
11 #include <proto/kernel.h>
13 #include <stdarg.h>
15 #include "exec_intern.h"
17 #undef bug
19 /* See rom/exec/rawputchar.c for documentation */
21 static inline void bug(const char *format, ...)
23 va_list args;
25 va_start(args, format);
26 KrnBug(format, args);
27 va_end(args);
31 AROS_LH1(void, RawPutChar,
32 AROS_LHA(UBYTE, chr, D0),
33 struct ExecBase *, SysBase, 86, Exec)
35 AROS_LIBFUNC_INIT
37 /* Don't write 0 bytes */
38 if (chr)
40 bug("%c", chr);
43 AROS_LIBFUNC_EXIT
44 } /* RawPutChar */