Ignore:
Timestamp:
Jun 19, 2014, 1:31:45 PM (10 years ago)
Author:
alain
Message:

Cosmetic

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/giet_drivers/tty_driver.c

    r320 r333  
    152152
    153153//////////////////////////////////////////////////////////////////////////////
    154 // This function try to take the hardwired lock protecting
     154// This function try to take the lock protecting
    155155// exclusive access to TTY terminal identified by the "channel" argument.
    156156// It enters a critical section before taking the lock, and save the SR value
     
    162162{
    163163    if( channel >= NB_TTY_CHANNELS ) _exit();
    164 
    165164    _it_disable( save_sr_ptr );
    166 
    167 //    while ( _tty_get_register( channel, TTY_CONFIG ) ); // busy waiting
    168 
    169165    _get_lock( &_tty_lock[channel] );
    170166}
     
    180176{
    181177    if( channel >= NB_TTY_CHANNELS ) _exit();
    182 
    183 //    _tty_set_register( channel, TTY_CONFIG, 0 );
    184 
    185178    _release_lock( &_tty_lock[channel] );
    186    
    187179    _it_restore( save_sr_ptr );
    188180}
Note: See TracChangeset for help on using the changeset viewer.