Changeset 03c0961 in rtems


Ignore:
Timestamp:
Jul 24, 1998, 4:18:39 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
bf21172
Parents:
dbab462
Message:

Patch from David Fiddes <D.J.Fiddes@…>:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/m68k/gen68340/console/console.c

    rdbab462 r03c0961  
    525525
    526526/******************************************************
    527   Name: console_atexit
    528   Input parameters: -
    529   Output parameters: -
    530   Description: called at program termination.
    531   TO DO: add a TERMIOS routine to wait for all the
    532          characters to be transmitted
    533  *****************************************************/
    534 void console_atexit(void)
    535 {
    536  if ((CHANNEL_ENABLED_A && USE_INTERRUPTS_A) || (CHANNEL_ENABLED_B && USE_INTERRUPTS_B))
    537     {
    538         /* should do a drain output but the function is static
    539            and we do not have a table holding all the file descriptors */
    540         /* just loop, I don't mind not to shutdown the executive */
    541         while (1) continue;
    542     }
    543 }
    544 
    545 /******************************************************
    546527  Name: console_reserve_resources
    547528  Input parameters: -
     
    573554        rtems_status_code status;
    574555        int i;
    575 
    576         /*
    577          * Set up console driver needs for program termination
    578          */
    579         atexit(console_atexit);
    580556
    581557        /*
Note: See TracChangeset for help on using the changeset viewer.