AROS_UFH2( void, rawputchar_m68k, AROS_UFHA( UBYTE, c, D0 ), AROS_UFHA( struct ExecBase*, SysBase, A3 ) ) { AROS_USERFUNC_INIT RawPutChar( c ); AROS_USERFUNC_EXIT }
/* * This is yet another character stuffing callback for debug output. This one unifies the output * with debug output from outside the kernel where possible, allowing kernel debug output to be * redirected alongside that other output (e.g. with Sashimi or Bifteck). */ static int UniPutC(int c, struct KernelBase *KernelBase) { int result; if (SysBase != NULL) { RawPutChar(c); result = 1; } else result = krnPutC(c, KernelBase); return result; }
void putchar(int c) { struct Console *mc = ConsoleBase; char buf = c; mc->cnior->length = 1; mc->cnior->buf = &buf; mc->cnior->cmd = Cmd_Wr; #ifdef SERCONSOLE if (use_serconsole) RawPutChar((int32_t)c); #endif (void)DoIO(mc->cnior); }
void puts(char *s) { struct Console *mc = ConsoleBase; mc->cnior->length = -1; mc->cnior->buf = s; mc->cnior->cmd = Cmd_Wr; #ifdef SERCONSOLE if (use_serconsole) { while (*s) RawPutChar(*s++); } #endif (void)DoIO(mc->cnior); }
static void raw_printit(INT32 chr, APTR SysBase) { RawPutChar(chr); }
VOID KPutC(UBYTE ch) { RawPutChar(ch); }