Changeset 322 for soft/giet_vm/giet_kernel/irq_handler.c
- Timestamp:
- Jun 10, 2014, 1:28:14 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_kernel/irq_handler.c
r310 r322 19 19 #include <bdv_driver.h> 20 20 #include <dma_driver.h> 21 #include <spi_driver.h> 21 22 #include <mapping_info.h> 22 23 #include <utils.h> 23 24 24 #if !defined( USE_X ICU )25 # error: You must define USE_X ICU in the hard_config.h file25 #if !defined( USE_XCU ) 26 # error: You must define USE_XCU in the hard_config.h file 26 27 #endif 27 28 … … 60 61 unsigned int icu_out_index = lpid * IRQ_PER_PROCESSOR; 61 62 62 #if USE_X ICU63 #if USE_XCU 63 64 _xcu_get_index( cluster_xy, icu_out_index, &irq_id, &irq_type ); 64 65 #else … … 118 119 else if ( isr_type == ISR_TIMER ) _timer_isr ( irq_type, irq_id, channel ); 119 120 else if ( isr_type == ISR_MMC ) _mmc_isr ( irq_type, irq_id, channel ); 121 else if ( isr_type == ISR_DMA ) _dma_isr ( irq_type, irq_id, channel ); 122 else if ( isr_type == ISR_SPI ) _spi_isr ( irq_type, irq_id, channel ); 120 123 else 121 124 { … … 146 149 unsigned int lpid = gpid % NB_PROCS_MAX; 147 150 148 // We don't take TTY lock to avoid deadlock 149 _puts("\n[GIET WARNING] IRQ handler called but no active IRQ on processor["); 150 _putd( x ); 151 _puts(","); 152 _putd( y ); 153 _puts(","); 154 _putd( lpid ); 155 _puts("] at cycle "); 156 _putd( _get_proctime() ); 157 _puts("\n "); 151 _printf("\n[GIET WARNING] IRQ handler called but no active IRQ " 152 "on processor[%d,%d,%d] at cycle %d\n", 153 x, y, lpid, _get_proctime() ); 158 154 } 159 155
Note: See TracChangeset
for help on using the changeset viewer.