Changeset 950 for trunk/platforms
- Timestamp:
- Feb 23, 2015, 3:45:18 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/platforms/linux_monocluster/top.cpp
r829 r950 141 141 142 142 #define MAX_FROZEN_CYCLES 500000 143 144 #define NB_IRQS_PER_CPU 4 143 145 144 146 /* … … 320 322 3, // #input hw irqs 321 323 param.nr_cpus, // #ipis 322 param.nr_cpus ); // #output irqs324 param.nr_cpus * NB_IRQS_PER_CPU); // #output irqs 323 325 324 326 VciMultiTty<vci_param> mtty("mtty", IntTab(0, 3), maptabp, "vcitty0", NULL); … … 468 470 xicu.p_hwi[1](signal_bd_irq); 469 471 xicu.p_hwi[2](signal_memc_irq); 470 for (size_t i = 0; i < param.nr_cpus; i++) 471 xicu.p_irq[i](signal_proc_irq[i][0]); 472 for (size_t i = 0; i < param.nr_cpus; i++) { 473 xicu.p_irq[i * NB_IRQS_PER_CPU + 0](signal_proc_irq[i][0]); 474 xicu.p_irq[i * NB_IRQS_PER_CPU + 1](signal_proc_irq[i][1]); 475 xicu.p_irq[i * NB_IRQS_PER_CPU + 2](signal_proc_irq[i][2]); 476 xicu.p_irq[i * NB_IRQS_PER_CPU + 3](signal_proc_irq[i][3]); 477 } 472 478 473 479 mtty.p_clk(signal_clk);
Note: See TracChangeset
for help on using the changeset viewer.