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.
This commit is contained in:
Joel Sherrill
1998-07-24 16:18:39 +00:00
parent dbab462feb
commit 03c09610e5

View File

@@ -523,25 +523,6 @@ SetAttributes (int minor, const struct termios *t)
return 0; return 0;
} }
/******************************************************
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 Name: console_reserve_resources
Input parameters: - Input parameters: -
@@ -573,11 +554,6 @@ rtems_device_driver console_initialize(
rtems_status_code status; rtems_status_code status;
int i; int i;
/*
* Set up console driver needs for program termination
*/
atexit(console_atexit);
/* /*
* Set up TERMIOS * Set up TERMIOS
*/ */