2010-08-03 Joel Sherrill <joel.sherrilL@OARcorp.com>

* console/console.c: Add BSP_poll_char.
This commit is contained in:
Joel Sherrill
2010-08-03 14:16:41 +00:00
parent a90576b644
commit 989938f1b2
16 changed files with 48 additions and 9 deletions

View File

@@ -1,3 +1,7 @@
2010-08-03 Joel Sherrill <joel.sherrilL@OARcorp.com>
* console/console.c: Add BSP_poll_char.
2010-03-26 Thomas Doerfler <Thomas.Doerfler@embedded-brains.de> 2010-03-26 Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
* clock/clock.c: get desired clock rate for proper source * clock/clock.c: get desired clock rate for proper source

View File

@@ -87,11 +87,11 @@ _BSP_null_char( char c )
rtems_interrupt_enable(level); rtems_interrupt_enable(level);
} }
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;
#define MAX_UART_INFO 4 #define MAX_UART_INFO 4
#define RX_BUFFER_SIZE 248 #define RX_BUFFER_SIZE 248
struct IntUartInfoStruct struct IntUartInfoStruct
{ {
int iomode; int iomode;

View File

@@ -1,3 +1,7 @@
2010-08-03 Joel Sherrill <joel.sherrilL@OARcorp.com>
* console/console.c: Add BSP_poll_char.
2010-04-28 Joel Sherrill <joel.sherrilL@OARcorp.com> 2010-04-28 Joel Sherrill <joel.sherrilL@OARcorp.com>
* startup/init5235.c: Remove warnings. * startup/init5235.c: Remove warnings.

View File

@@ -41,6 +41,7 @@ _BSP_null_char( char c )
rtems_interrupt_enable(level); rtems_interrupt_enable(level);
} }
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;
#define MAX_UART_INFO 3 #define MAX_UART_INFO 3
#define RX_BUFFER_SIZE 512 #define RX_BUFFER_SIZE 512

View File

@@ -1,3 +1,7 @@
2010-08-03 Joel Sherrill <joel.sherrilL@OARcorp.com>
* console/console.c: Add BSP_poll_char.
2010-04-13 Ralf Corsépius <ralf.corsepius@rtems.org> 2010-04-13 Ralf Corsépius <ralf.corsepius@rtems.org>
* console/console.c: Fix broken comment formatting. * console/console.c: Fix broken comment formatting.

View File

@@ -41,6 +41,7 @@ static void _BSP_null_char(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;
#define MAX_UART_INFO 3 #define MAX_UART_INFO 3
#define RX_BUFFER_SIZE 512 #define RX_BUFFER_SIZE 512

View File

@@ -1,3 +1,7 @@
2010-08-03 Joel Sherrill <joel.sherrilL@OARcorp.com>
* console/console.c: Add BSP_poll_char.
2010-04-28 Joel Sherrill <joel.sherrilL@OARcorp.com> 2010-04-28 Joel Sherrill <joel.sherrilL@OARcorp.com>
* timer/timer.c: Remove warnings. * timer/timer.c: Remove warnings.

View File

@@ -161,6 +161,7 @@ ssize_t _167Bug_pollWrite( int minor, const char *buf, size_t len );
/* Printk function */ /* Printk function */
static void _BSP_output_char( char c ); static void _BSP_output_char( char c );
BSP_output_char_function_type BSP_output_char = _BSP_output_char; BSP_output_char_function_type BSP_output_char = _BSP_output_char;
BSP_polling_getchar_function_type BSP_poll_char = NULL;
/* '\r' character in memory. This used to live on /* '\r' character in memory. This used to live on
* the stack but storing the '\r' character is * the stack but storing the '\r' character is

View File

@@ -1,3 +1,7 @@
2010-08-03 Joel Sherrill <joel.sherrilL@OARcorp.com>
* console/console.c: Add BSP_poll_char.
2010-06-29 Joel Sherrill <joel.sherrill@oarcorp.com> 2010-06-29 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.ac: Remove AC_CHECK_SIZEOF([void *]). * configure.ac: Remove AC_CHECK_SIZEOF([void *]).

View File

@@ -92,6 +92,7 @@ static void _BSP_null_char( char c ) {return;}
static void serial_putchar(const char c); 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 volatile m8xx_t m8xx;
extern struct rtems_termios_tty *ttyp[]; extern struct rtems_termios_tty *ttyp[];

View File

@@ -1,3 +1,7 @@
2010-08-03 Joel Sherrill <joel.sherrilL@OARcorp.com>
* console/console.c: Add BSP_poll_char.
2010-06-29 Joel Sherrill <joel.sherrill@oarcorp.com> 2010-06-29 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.ac: Remove AC_CHECK_SIZEOF([void *]). * configure.ac: Remove AC_CHECK_SIZEOF([void *]).

View File

@@ -99,6 +99,7 @@ static rtems_status_code do_poll_read( rtems_device_major_number major, rtems_de
static rtems_status_code do_poll_write( rtems_device_major_number major, rtems_device_minor_number minor, void * arg); static rtems_status_code do_poll_write( rtems_device_major_number major, rtems_device_minor_number minor, void * arg);
BSP_output_char_function_type BSP_output_char = _BSP_output_char; BSP_output_char_function_type BSP_output_char = _BSP_output_char;
BSP_polling_getchar_function_type BSP_poll_char = NULL;
/* /*
* do_poll_read * do_poll_read

View File

@@ -1,3 +1,7 @@
2010-08-03 Joel Sherrill <joel.sherrilL@OARcorp.com>
* console/console.c: Add BSP_poll_char.
2010-06-29 Joel Sherrill <joel.sherrill@oarcorp.com> 2010-06-29 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.ac: Remove AC_CHECK_SIZEOF([void *]). * configure.ac: Remove AC_CHECK_SIZEOF([void *]).

View File

@@ -83,6 +83,7 @@ static rtems_status_code do_poll_write( rtems_device_major_number major, rtems_d
static void _BSP_null_char( char c ) {return;} static void _BSP_null_char( char c ) {return;}
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;
/* /*
* do_poll_read * do_poll_read

View File

@@ -1,3 +1,7 @@
2010-08-03 Joel Sherrill <joel.sherrilL@OARcorp.com>
* console/console.c: Add BSP_poll_char.
2010-06-29 Joel Sherrill <joel.sherrill@oarcorp.com> 2010-06-29 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.ac: Remove AC_CHECK_SIZEOF([void *]). * configure.ac: Remove AC_CHECK_SIZEOF([void *]).

View File

@@ -857,6 +857,7 @@ static void console_debug_putc_onlcr(const char c)
} }
BSP_output_char_function_type BSP_output_char = console_debug_putc_onlcr; BSP_output_char_function_type BSP_output_char = console_debug_putc_onlcr;
BSP_polling_getchar_function_type BSP_poll_char = NULL;
/* /*