Changeset 469 for soft/giet_vm/giet_drivers/tty_driver.c
- Timestamp:
- Dec 12, 2014, 5:09:37 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_drivers/tty_driver.c
r456 r469 17 17 # error: You must define SEG_TTY_BASE in the hard_config.h file 18 18 #endif 19 20 #if !defined(NB_TTY_CHANNELS)21 # error: You must define NB_TTY_CHANNELS in the hard_config.h file22 #endif23 24 #if (NB_TTY_CHANNELS == 0)25 # error: The NB_TTY_CHANNELS in the hard_config.h file cannot be 026 #endif27 28 ////////////////////////////////////////////////////////////////////////////////////29 // global variables30 ////////////////////////////////////////////////////////////////////////////////////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];36 19 37 20 ////////////////////////////////////////////////////////////////////////////////////
Note: See TracChangeset
for help on using the changeset viewer.