Changeset 310 for soft/giet_vm/giet_kernel/irq_handler.c
- Timestamp:
- Apr 21, 2014, 5:29:40 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_kernel/irq_handler.c
r297 r310 56 56 unsigned int irq_id; 57 57 unsigned int irq_type; 58 char* irq_type_str[] = { "HWI", "WTI", "PTI" };59 58 60 59 // get the highest priority active IRQ index … … 88 87 89 88 #if GIET_DEBUG_IRQS // we don't take the TTY lock to avoid deadlocks 89 char* irq_type_str[] = { "HWI", "WTI", "PTI" }; 90 90 _puts("\n[IRQS DEBUG] Processor["); 91 91 _putd(x); … … 120 120 else 121 121 { 122 // we don't take the TTY lock to avoid deadlock 123 _puts("\n[GIET ERROR] in _irq_demux() illegal ISR type on processor["); 124 _putd(x); 125 _puts(","); 126 _putd(y); 127 _puts(","); 128 _putd(lpid); 129 _puts("] at cycle "); 130 _putd(_get_proctime() ); 131 _puts("\n "); 132 _puts(irq_type_str[irq_type] ); 133 _puts(" : irq_id = "); 134 _putd(irq_id); 135 _puts(" / isr_type = "); 136 _putd(isr_type); 137 _puts(" / channel = "); 138 _putd(channel); 139 _puts("\n"); 140 _exit(); 122 _printf("\n[GIET ERROR] in _irq_demux() :" 123 " illegal ISR type on processor[%d,%d,%d] at cycle %d\n" 124 " - irq_type = %d\n" 125 " - irq_id = %d\n" 126 " - isr_type = %x\n", 127 x, y, lpid, _get_proctime(), irq_type, irq_id, isr_type ); 141 128 } 142 129 }
Note: See TracChangeset
for help on using the changeset viewer.