Ejemplo n.º 1
0
AROS_UFH2( void,
	   rawputchar_m68k,
	   AROS_UFHA( UBYTE,            c,       D0 ),
	   AROS_UFHA( struct ExecBase*, SysBase, A3 ) )
{
  AROS_USERFUNC_INIT
  RawPutChar( c );
  AROS_USERFUNC_EXIT  
}
Ejemplo n.º 2
0
Archivo: _bug.c Proyecto: michalsc/AROS
/*
 * 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;
}
Ejemplo n.º 3
0
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);
}
Ejemplo n.º 4
0
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);
}
Ejemplo n.º 5
0
static void raw_printit(INT32 chr, APTR SysBase)
{
	RawPutChar(chr);
}
Ejemplo n.º 6
0
VOID KPutC(UBYTE ch)
{
	RawPutChar(ch);
}