diff options
Diffstat (limited to 'testsuites/libtests/termios04/termios_testdriver_intr.c')
-rw-r--r-- | testsuites/libtests/termios04/termios_testdriver_intr.c | 34 |
1 files changed, 31 insertions, 3 deletions
diff --git a/testsuites/libtests/termios04/termios_testdriver_intr.c b/testsuites/libtests/termios04/termios_testdriver_intr.c index 53a2b7899b..086bbb3a12 100644 --- a/testsuites/libtests/termios04/termios_testdriver_intr.c +++ b/testsuites/libtests/termios04/termios_testdriver_intr.c @@ -1,7 +1,11 @@ -/* - * This file contains a test fixture termios device driver +/** + * @file * - * COPYRIGHT (c) 1989-2011. + * This file contains a test fixture termios device driver + */ + +/* + * COPYRIGHT (c) 1989-2012. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -21,6 +25,30 @@ #include <rtems/dumpbuf.h> #include "termios_testdriver_intr.h" +/* forward declarations to avoid warnings */ +void termios_test_driver_wait_for_tx_to_complete(void); +rtems_timer_service_routine Rx_ISR( + rtems_id ignored_id, + void *ignored_address +); +rtems_timer_service_routine Tx_ISR( + rtems_id ignored_id, + void *ignored_address +); +ssize_t termios_test_driver_write_helper( + int port, + const char *buf, + size_t len +); +int termios_test_driver_set_attributes( + int minor, + const struct termios *t +); +#if defined(TASK_DRIVEN) + int termios_test_driver_inbyte_nonblocking(int port); +#endif + +/* global variables */ rtems_id Rx_Timer; rtems_id Tx_Timer; |