Ignore:
Timestamp:
Aug 9, 2012, 10:57:23 AM (12 years ago)
Author:
meunier
Message:

Updates in the soft_filter application (bug corrections, formatting, and adaptation to the architecture generic_mmu)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/softs/giet_tsar/drivers.c

    r178 r248  
    376376
    377377    tty_address = (char*)(base + increment + tid*TTY_SPAN*4);
     378    //tty_address = (char*)(base + tid*TTY_SPAN*4);
    378379
    379380    for ( i=0 ; i < length ; i++ )
     
    569570    if( index >= max ) return -1;
    570571
    571     register int        delay = ( (_proctime() + _procid() ) & 0xF) << 4;
    572     register int*       plock = (int*)&_spin_lock[index];                       
     572    register int   delay = ((_proctime() +_procid()) & 0xF) << 4;
     573    register int * plock = (int *) &_spin_lock[index];                 
    573574
    574575    asm volatile ("_locks_llsc:                 \n"
     
    769770{
    770771    int*                dma_address;
    771     unsigned int        base            = (unsigned int)&seg_dma_base;
     772    unsigned int        base            = (unsigned int) &seg_dma_base;
    772773    unsigned int        increment       = _segment_increment(DMA_SPAN*4);
    773     char*               fb              = (char*)&seg_fb_base + offset;
    774     unsigned int        delay           = (_proctime() & 0xF) << 4;
     774    char *      fb              = (char *) &seg_fb_base + offset;
     775    unsigned int        delay = (_proctime() & 0xF) << 4;
    775776    unsigned int        pid             = _procid();
    776777    unsigned int        i;
Note: See TracChangeset for help on using the changeset viewer.