Ignore:
Timestamp:
Apr 21, 2014, 5:46:38 AM (10 years ago)
Author:
alain
Message:

The main modif is in TTY driver: The hard lock implemented in the
vci_multi_tty component is not used anymore, because this (non cacheable)
lock was not scalable... It has been replaced by a software (cacheable) lock
that has a better scalability in case of hardware cache coherence.
(see the _tty_get_lock() and _tty_release_lock() functions)

File:
1 edited

Legend:

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

    r298 r313  
    195195#if NB_DMA_CHANNELS > 0
    196196
    197     unsigned int procid    = _get_procid();
     197    unsigned int procid     = _get_procid();
    198198    unsigned int cluster_xy = procid/NB_PROCS_MAX;
    199199    unsigned int channel_id = procid%NB_PROCS_MAX;
     
    208208
    209209_printf("\n[DMA DEBUG] Processor[%d,%d,%d] enters _dma_copy() at cycle %d\n"
    210         " - vspace_id  = %d\n"
    211         " - cluster_xy = %x\n"
    212         " - channel_id = %d\n"
    213         " - dest       = %x\n"
    214         " - source     = %x\n"
    215         " - bytes      = %x\n",
    216         x, y, channel_id, _get_proctime(), vspace_id, cluster_xy,
    217         (unsigned int)dest, (unsigned int)source, size );
     210        " - vspace_id   = %d\n"
     211        " - src_vaddr   = %x\n"
     212        " - dst_vaddr   = %x\n"
     213        " - bytes       = %x\n",
     214        x, y, channel_id, _get_proctime(), vspace_id,
     215        (unsigned int)source, (unsigned int)dest, size );
    218216#endif
    219217
     
    257255
    258256#if GIET_DEBUG_DMA_DRIVER
    259 _printf(" - src_paddr  = %llx\n"
    260         " - dst_paddr  = %llx\n",
     257_printf(" - src_paddr   = %l\n"
     258        " - dst_paddr   = %l\n",
    261259        src_paddr, dst_paddr );
    262260#endif
Note: See TracChangeset for help on using the changeset viewer.