Changeset 648 for soft/giet_vm/giet_kernel/irq_handler.c
- Timestamp:
- Jul 22, 2015, 1:11:08 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_kernel/irq_handler.c
r547 r648 252 252 unsigned int x = cluster_xy >> Y_WIDTH; 253 253 unsigned int y = cluster_xy & ((1<<Y_WIDTH)-1); 254 unsigned int lpid= gpid & ((1<<P_WIDTH)-1);254 unsigned int p = gpid & ((1<<P_WIDTH)-1); 255 255 unsigned int irq_id; 256 256 unsigned int irq_type; 257 257 258 258 // get the highest priority active IRQ index 259 unsigned int icu_out_index = lpid* IRQ_PER_PROCESSOR;259 unsigned int icu_out_index = p * IRQ_PER_PROCESSOR; 260 260 261 261 _xcu_get_index( cluster_xy, icu_out_index, &irq_id, &irq_type ); … … 283 283 _nolock_printf("\n[DEBUG IRQS] _irq_demux() Processor[%d,%d,%d] enters at cycle %d\n" 284 284 " irq_type = %s / irq_id = %d / isr_type = %s / channel = %d\n", 285 x , y , lpid, _get_proctime() ,285 x , y , p , _get_proctime() , 286 286 _irq_type_str[irq_type] , irq_id , _isr_type_str[isr_type] , channel ); 287 287 #endif … … 309 309 " - irq_id = %d\n" 310 310 " - isr_type = %s\n", 311 x, y, lpid, _get_proctime(),311 x, y, p, _get_proctime(), 312 312 _irq_type_str[irq_type] , irq_id , _isr_type_str[isr_type] ); 313 313 _exit(); … … 327 327 unsigned int x = cluster_xy >> Y_WIDTH; 328 328 unsigned int y = cluster_xy & ((1<<Y_WIDTH)-1); 329 unsigned int lpid= gpid & ((1<<P_WIDTH)-1);329 unsigned int p = gpid & ((1<<P_WIDTH)-1); 330 330 331 331 _printf("\n[GIET WARNING] IRQ handler called but no active IRQ " 332 332 "on processor[%d,%d,%d] at cycle %d\n", 333 x, y, lpid, _get_proctime() );333 x, y, p, _get_proctime() ); 334 334 } 335 335
Note: See TracChangeset
for help on using the changeset viewer.