diff options
Diffstat (limited to 'c/src/lib/libbsp/i960/rxgen960/console/serial.c')
-rw-r--r-- | c/src/lib/libbsp/i960/rxgen960/console/serial.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/c/src/lib/libbsp/i960/rxgen960/console/serial.c b/c/src/lib/libbsp/i960/rxgen960/console/serial.c index 9f1af9acec..2a1b061efe 100644 --- a/c/src/lib/libbsp/i960/rxgen960/console/serial.c +++ b/c/src/lib/libbsp/i960/rxgen960/console/serial.c @@ -5,7 +5,6 @@ #include "serial.h" #include "rtems.h" - typedef unsigned char uchar ; /* Abbreviations */ typedef unsigned short ushort ; typedef unsigned long ulong ; @@ -22,8 +21,6 @@ static struct{ char in_line[128]; }cons_input[MAX_CONSOLE]; - - /* This uses the message out and in buffers as serial emulator. Pretty stupid eh? */ @@ -35,12 +32,9 @@ static struct{ static volatile unsigned int * uart = { uart1 }; static volatile unsigned int * uart_rx = { uart1_rx }; - extern void display_msg(void); /*extern int sprintf();*/ - - int console_uartinit(unsigned int BAUDRate) { @@ -51,7 +45,6 @@ console_uartinit(unsigned int BAUDRate) return(0); } - /* Introduce a new console channel */ console_new(char * name) { @@ -72,8 +65,6 @@ console_new(char * name) #endif } - - /*********************************************************************** *** Transmit character to host. *** put the console ID in upper byte @@ -127,7 +118,6 @@ wait: } - /* * putnum -- print a 32 bit number in hex */ @@ -305,7 +295,6 @@ int console_sps_getc() return ch; } - void cons_isr() { unsigned int i, chin, consinx, st; |