Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 326 → Rev 325

/SPARTAN/trunk/arch/mips/src/console.c
31,6 → 31,8
#include <arch/cp0.h>
#include <arch/console.h>
 
static void (*putchar_func)(const char ch) = NULL;
 
static void cons_putchar(const char ch)
{
*((char *) VIDEORAM) = ch;
50,8 → 52,6
*(SERIAL_PORT_BASE) = ch;
}
 
static void (*putchar_func)(const char ch) = cons_putchar;
 
void console_init(void)
{
/* The LSR on the start usually contains this value */