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

    r345 r481  
    88#ifndef _GIET_MMC_DRIVERS_H_
    99#define _GIET_MMC_DRIVERS_H_
     10
     11#include <hard_config.h>
     12#include <locks.h>
    1013
    1114///////////////////////////////////////////////////////////////////////////////////
     
    3033
    3134#define MMC_REG(func,idx) ((func<<7)|idx)
     35
     36///////////////////////////////////////////////////////////////////////////////
     37// Distributed locks protecting MMC components (one per cluster)
     38///////////////////////////////////////////////////////////////////////////////
     39
     40spin_lock_t  _mmc_lock[X_SIZE][Y_SIZE]  __attribute__((aligned(64)));
    3241
    3342///////////////////////////////////////////////////////////////////////////////////
Note: See TracChangeset for help on using the changeset viewer.