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.h

    r456 r469  
    2424#define _GIET_TTY_DRIVERS_H_
    2525
     26#include "hard_config.h"
    2627#include "locks.h"
    2728
     
    4142
    4243////////////////////////////////////////////////////////////////////////////////////
    43 //               global variables
     44//                   global variables
     45// These variables must be defined both in boot code and in kernel_init code.
    4446////////////////////////////////////////////////////////////////////////////////////
    4547
    46 extern simple_lock_t  _tty_tx_lock[];
     48extern sbt_lock_t     _tty_tx_lock[NB_TTY_CHANNELS];
    4749
    48 extern unsigned int   _tty_rx_buf[];
    49 extern unsigned int   _tty_rx_full[];
     50extern unsigned int   _tty_rx_buf[NB_TTY_CHANNELS];
     51extern unsigned int   _tty_rx_full[NB_TTY_CHANNELS];
    5052
    5153//////////////////////////////////////////////////////////////////////////////////
Note: See TracChangeset for help on using the changeset viewer.