summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/mbx8xx/console
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2010-08-03 14:16:41 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2010-08-03 14:16:41 +0000
commit989938f1b26daba391d0d71ca824e0c386465217 (patch)
tree6f7c9981f076fb565437e689933665cf9318b986 /c/src/lib/libbsp/powerpc/mbx8xx/console
parenta90576b64481ed4af7ec16cf433bc46b19a36f6d (diff)
downloadrtems-989938f1b26daba391d0d71ca824e0c386465217.tar.bz2
2010-08-03 Joel Sherrill <joel.sherrilL@OARcorp.com>
* console/console.c: Add BSP_poll_char.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/mbx8xx/console')
-rw-r--r--c/src/lib/libbsp/powerpc/mbx8xx/console/console.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/powerpc/mbx8xx/console/console.c b/c/src/lib/libbsp/powerpc/mbx8xx/console/console.c
index 4145270b88..0b777b0673 100644
--- a/c/src/lib/libbsp/powerpc/mbx8xx/console/console.c
+++ b/c/src/lib/libbsp/powerpc/mbx8xx/console/console.c
@@ -91,7 +91,8 @@ static rtems_status_code do_poll_write( rtems_device_major_number major, rtems_d
static void _BSP_null_char( char c ) {return;}
static void serial_putchar(const char c);
-BSP_output_char_function_type BSP_output_char = _BSP_null_char;
+BSP_output_char_function_type BSP_output_char = _BSP_null_char;
+BSP_polling_getchar_function_type BSP_poll_char = NULL;
extern volatile m8xx_t m8xx;
extern struct rtems_termios_tty *ttyp[];