Ignore:
Timestamp:
Dec 12, 2014, 5:09:37 PM (10 years ago)
Author:
alain
Message:

The global variables associated to TTY channels are not anymore
defined in the tty_driver.c file, but in the boot.c and kernel_init.c files.

File:
1 edited

Legend:

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

    r456 r469  
    1717# error: You must define SEG_TTY_BASE in the hard_config.h file
    1818#endif
    19 
    20 #if !defined(NB_TTY_CHANNELS)
    21 # error: You must define NB_TTY_CHANNELS in the hard_config.h file
    22 #endif
    23 
    24 #if (NB_TTY_CHANNELS == 0)
    25 # error: The NB_TTY_CHANNELS in the hard_config.h file cannot be 0
    26 #endif
    27 
    28 ////////////////////////////////////////////////////////////////////////////////////
    29 //               global variables
    30 ////////////////////////////////////////////////////////////////////////////////////
    31 
    32 simple_lock_t  _tty_tx_lock[NB_TTY_CHANNELS] __attribute__((aligned(64)));
    33 
    34 unsigned int   _tty_rx_buf[NB_TTY_CHANNELS];
    35 unsigned int   _tty_rx_full[NB_TTY_CHANNELS];
    3619
    3720////////////////////////////////////////////////////////////////////////////////////
Note: See TracChangeset for help on using the changeset viewer.