Ignore:
Timestamp:
Mar 26, 2014, 6:44:44 PM (10 years ago)
Author:
alain
Message:

Introducing a major release, to suppoort the tsar_generic_leti platform
and the various (external or internal) peripherals configurations.
The map.xml format has been modified, in order to support the new
vci_iopic componentand a new policy for peripherals initialisation.
The IRQs are nom described in the XICU and IOPIC components
(and not anymore in the processors).
To enforce this major change, the map.xml file signature changed:
The signature value must be: 0xDACE2014

This new release has been tested on the tsar_generic_leti platform
for the following mappings:

  • 4c_4p_sort_leti
  • 4c_4p_sort_leti_ext
  • 4c_4p_transpose_leti
  • 4c_4p_transpose_leti_ext
  • 4c_1p_four_leti_ext
File:
1 edited

Legend:

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

    r258 r295  
    2424
    2525///////////////////////////////////////////////////////////////////////////////////
    26 // TTY access functions and variables
     26// TTY variables
    2727///////////////////////////////////////////////////////////////////////////////////
    2828
     
    3131extern volatile unsigned char _tty_get_full[];
    3232
    33 /////// rather high level access functions ///////////////////////////////////////
     33//////////////////////////////////////////////////////////////////////////////////
     34// TTY access functions
     35//////////////////////////////////////////////////////////////////////////////////
    3436
    3537extern unsigned int _tty_write( const char*  buffer,
    36                                 unsigned int length,     // number of characters
    37                                 unsigned int channel );  // channel index
     38                                unsigned int length,     
     39                                unsigned int channel ); 
    3840
    3941extern unsigned int _tty_read(  char*        buffer,
    40                                 unsigned int length,     // unused
    41                                 unsigned int channel );  // channel index
     42                                unsigned int length, 
     43                                unsigned int channel );
    4244
    43 /////// very low level access functions //////////////////////////////////////////
     45extern void _tty_get_lock( unsigned int  channel,
     46                           unsigned int* save_sr_ptr );
    4447
    45 extern void _tty_write_data( unsigned int channel, char byte );
     48extern void _tty_release_lock( unsigned int  channel,
     49                               unsigned int* save_sr_ptr );
    4650
    47 extern unsigned int _tty_read_data( unsigned int channel );
     51extern void _tty_rx_isr( unsigned int irq_type,
     52                         unsigned int irq_id,
     53                         unsigned int channel );
    4854
    49 extern unsigned int _tty_get_status( unsigned int channel );
    50 
    51 extern void _tty_get_lock( unsigned int channel );
    52 
    53 extern void _tty_release_lock( unsigned int channel );
     55extern void _tty_tx_isr( unsigned int irq_type,
     56                         unsigned int irq_id,
     57                         unsigned int channel );
    5458
    5559///////////////////////////////////////////////////////////////////////////////////
     60// low-level access functions
     61///////////////////////////////////////////////////////////////////////////////////
    5662
     63extern unsigned int _tty_get_register( unsigned int channel,
     64                                       unsigned int index );
     65
     66extern void _tty_set_register( unsigned int channel,
     67                               unsigned int index,
     68                               unsigned int value );
    5769
    5870#endif
Note: See TracChangeset for help on using the changeset viewer.