summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k/gen68340/console/console.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-07-24 16:18:39 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-07-24 16:18:39 +0000
commit03c09610e52c2ebdf50a41de625a4b95b3a9b8bc (patch)
treed6e189133d1fba9f80620268e0a4217fabd9d8d8 /c/src/lib/libbsp/m68k/gen68340/console/console.c
parentPatch from Eric Valette <valette@crf.canon.fr> and Emmanuel Raguet (diff)
downloadrtems-03c09610e52c2ebdf50a41de625a4b95b3a9b8bc.tar.bz2
Patch from David Fiddes <D.J.Fiddes@hw.ac.uk>:
Here's a small patch I forgot about from earlier in the week that removes the hack fix Geoffroy had to use to get his BSP to work properly. The termios osend() fix took care of this.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/m68k/gen68340/console/console.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/c/src/lib/libbsp/m68k/gen68340/console/console.c b/c/src/lib/libbsp/m68k/gen68340/console/console.c
index 2796ca119d..bfbcac1170 100644
--- a/c/src/lib/libbsp/m68k/gen68340/console/console.c
+++ b/c/src/lib/libbsp/m68k/gen68340/console/console.c
@@ -524,25 +524,6 @@ SetAttributes (int minor, const struct termios *t)
}
/******************************************************
- Name: console_atexit
- Input parameters: -
- Output parameters: -
- Description: called at program termination.
- TO DO: add a TERMIOS routine to wait for all the
- characters to be transmitted
- *****************************************************/
-void console_atexit(void)
-{
- if ((CHANNEL_ENABLED_A && USE_INTERRUPTS_A) || (CHANNEL_ENABLED_B && USE_INTERRUPTS_B))
- {
- /* should do a drain output but the function is static
- and we do not have a table holding all the file descriptors */
- /* just loop, I don't mind not to shutdown the executive */
- while (1) continue;
- }
-}
-
-/******************************************************
Name: console_reserve_resources
Input parameters: -
Output parameters: -
@@ -574,11 +555,6 @@ rtems_device_driver console_initialize(
int i;
/*
- * Set up console driver needs for program termination
- */
- atexit(console_atexit);
-
- /*
* Set up TERMIOS
*/
rtems_termios_initialize ();