summaryrefslogtreecommitdiffstats
path: root/c/src/tests/libtests/termios/init.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-06-12 19:57:02 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-06-12 19:57:02 +0000
commit8ef38186faea3d9b5e6f0f1242f668cb7e7a3d52 (patch)
tree9253f150814c99167239f7c2cc850cdd9d92c003 /c/src/tests/libtests/termios/init.c
parentEnsure that when -msoft-float is specified for multilib builds, that (diff)
downloadrtems-8ef38186faea3d9b5e6f0f1242f668cb7e7a3d52.tar.bz2
Patch from John Cotton <john.cotton@nrc.ca>, Charles-Antoine Gauthier
<charles.gauthier@iit.nrc.ca>, and Darlene A. Stewart <Darlene.Stewart@nrc.ca> to add support for a number of very significant things: + BSPs for many variations on the Motorola MBX8xx board series + Cache Manager including initial support for m68040 and PowerPC + Rework of mpc8xx libcpu code so all mpc8xx CPUs now use same code base. + Rework of eth_comm BSP to utiltize above. John reports this works on the 821 and 860
Diffstat (limited to 'c/src/tests/libtests/termios/init.c')
-rw-r--r--c/src/tests/libtests/termios/init.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/c/src/tests/libtests/termios/init.c b/c/src/tests/libtests/termios/init.c
index bc4097a8cc..37e6506eea 100644
--- a/c/src/tests/libtests/termios/init.c
+++ b/c/src/tests/libtests/termios/init.c
@@ -24,6 +24,7 @@
#include <bsp.h>
+
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
@@ -587,6 +588,7 @@ void change_line_settings( struct termios *tp )
void canonical_input( struct termios *tp )
{
+ char buffer[256];
char c, first_time = TRUE;
printf( "\nTesting canonical input\n\n" );
@@ -612,6 +614,7 @@ void canonical_input( struct termios *tp )
printf( "\n\nCanonical input test done.\n" );
}
+
/*
* Test raw (ICANON=0) input
*/
@@ -707,7 +710,7 @@ void usage( void )
rtems_task
Init (rtems_task_argument ignored)
{
- char c;
+ char c, done;
struct termios orig_termios, test_termios;
printf( "\n\n*** TEST OF TERMIOS INPUT CAPABILITIES ***\n" );