Changeset 169 for soft/giet_vm/sys/irq_handler.c
- Timestamp:
- Jul 17, 2012, 2:39:10 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/sys/irq_handler.c
r167 r169 86 86 volatile unsigned int* dma_address; 87 87 88 // compute DMA channel address 88 89 dma_address = (unsigned int*)&seg_dma_base + (dma_id * DMA_SPAN); 89 90 91 // save DMA channel status 92 _dma_status[dma_id] = dma_address[DMA_LEN]; /* save status */ 93 94 // reset DMA channel 90 95 dma_address[DMA_RESET] = 0; /* reset IRQ */ 91 96 92 _dma_status[dma_id] = dma_address[DMA_LEN]; /* save status */97 // release DMA channel 93 98 _dma_busy[dma_id] = 0; /* release DMA */ 94 99 }
Note: See TracChangeset
for help on using the changeset viewer.