Ignore:
Timestamp:
Aug 7, 2013, 1:51:30 PM (11 years ago)
Author:
lambert
Message:
  • Fixing chbuf dma segment size
  • Changing the way number of chained buffer dma channels is defined top.cpp now uses the NB_CMA_CHANNELS present in hard_config.h
  • Adding a parameter to TsarXbarCluster? constructor: chbufdma_channels

--Cette ligne, et les suivantes ci-dessous, seront ignorées--

M top.cpp
M tsar_xbar_cluster/caba/source/include/tsar_xbar_cluster.h
M tsar_xbar_cluster/caba/source/src/tsar_xbar_cluster.cpp

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/platforms/tsar_generic_xbar/top.cpp

    r475 r485  
    251251
    252252#define CHBUF_BASE       0x00B6000000     
    253 #define CHBUF_SIZE       0x0000004000  // For 16 Channels
     253#define CHBUF_SIZE       0x0000004000 * NB_CMA_CHANNELS
    254254
    255255// replicated segments : address is incremented by a cluster offset
     
    655655                nic_tx_name,
    656656                NIC_TIMEOUT,
     657                NB_CMA_CHANNELS,
    657658                loader,
    658659                frozen_cycles,
Note: See TracChangeset for help on using the changeset viewer.