Ignore:
Timestamp:
Jan 1, 2015, 8:23:48 PM (9 years ago)
Author:
alain
Message:

1) The NIC, IOC, DMA and HBA drivers have been adapted to support the new _v2p_translate() function prototype (returns void).
2) The _mmc_inval() and _mmc_sync() functions does not use anymore the hard lock in the MMC, but use a soft spin_lock.
3) The NIC driver does not use anymore the GIET_NIC_BUFSIZE, GIET_NIC_NBUFS, and GIET_NIC_TIMEOUT parameters (removed from giet_config.h file).
4) The NIC driver registers map has been modified to support 64 bytes buffer descriptors for chained buffers.

File:
1 edited

Legend:

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

    r456 r481  
    150150
    151151        // get user buffer first page ppn and flags
    152         unsigned int ko = _v2p_translate( (page_table_t*)pt_vbase,
    153                                            buf_vaddr >> 12,
    154                                            &ppn,
    155                                            &flags );
     152        _v2p_translate( (page_table_t*)pt_vbase,
     153                        buf_vaddr >> 12,
     154                        &ppn,
     155                        &flags );
     156
    156157        // check access rights
    157         if ( ko )
    158         {
    159             _puts("\n[IOC ERROR] in _ioc_access() : buffer unmapped\n");
    160             _exit();
    161         }
    162 
    163158        if ( (mode == IOC_USER_MODE) && ((flags & PTE_U) == 0) )
    164159        {
Note: See TracChangeset for help on using the changeset viewer.