示例#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  
}
示例#2
0
文件: _bug.c 项目: 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;
}
示例#3
0
文件: console.c 项目: ryo/netbsd-src
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);
}
示例#4
0
文件: console.c 项目: ryo/netbsd-src
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);
}
示例#5
0
static void raw_printit(INT32 chr, APTR SysBase)
{
	RawPutChar(chr);
}
示例#6
0
文件: debug.c 项目: diegocr/ZoneAlarm
VOID KPutC(UBYTE ch)
{
	RawPutChar(ch);
}