Ignore:
Timestamp:
Aug 26, 2012, 8:16:34 PM (12 years ago)
Author:
karaoui
Message:

fixing the case where NB_DMA_MAX==0
updating the libsrl.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/sys/irq_handler.c

    r207 r213  
    9090void _isr_dma( unsigned int channel_id )
    9191{
     92#if NB_DMAS_MAX > 0
    9293    // compute cluster_id
    9394    unsigned int cluster_id = _procid()/NB_PROCS_MAX;
     
    119120    // release DMA channel
    120121    _dma_done[dma_global_id] = 1; 
     122#else
     123    _puts("[GIET ERROR] NB_DMAS_MAX is set to zero\n");
     124
     125#endif
    121126}
    122127
Note: See TracChangeset for help on using the changeset viewer.