diff options
Diffstat (limited to 'c/src/lib/libbsp/i960/rxgen960/console')
-rw-r--r-- | c/src/lib/libbsp/i960/rxgen960/console/console.c | 3 | ||||
-rw-r--r-- | c/src/lib/libbsp/i960/rxgen960/console/serial.c | 11 |
2 files changed, 0 insertions, 14 deletions
diff --git a/c/src/lib/libbsp/i960/rxgen960/console/console.c b/c/src/lib/libbsp/i960/rxgen960/console/console.c index 9e24c8c7a1..959a91deae 100644 --- a/c/src/lib/libbsp/i960/rxgen960/console/console.c +++ b/c/src/lib/libbsp/i960/rxgen960/console/console.c @@ -42,7 +42,6 @@ rtems_device_driver console_initialize( if ( console_pmr_init(*(uint32_t*)arg) ) return RTEMS_INVALID_NUMBER; - status = rtems_io_register_name( "/dev/console", major, @@ -55,7 +54,6 @@ rtems_device_driver console_initialize( return RTEMS_SUCCESSFUL; } - /* is_character_ready * * This routine returns TRUE if a character is available. @@ -120,7 +118,6 @@ void outbyte( unsigned int minor, outbyte( minor, '\r' ); } - /* * Open entry point */ 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; |