2007-12-10 Till Straumann <strauman@slac.stanford.edu>

* new-exceptions/bspsupport/nested_irq_test.c: adjusted
	wrong irq name/number calculation.
This commit is contained in:
Till Straumann
2007-12-11 05:21:12 +00:00
parent f328b69076
commit bbb50590b2
2 changed files with 6 additions and 1 deletions

View File

@@ -99,7 +99,7 @@ rtems_irq_connect_data xx;
}
if ( inst ) {
openpic_maptimer( t, 1 );
openpic_inittimer( t, 8 + t, OPENPIC_VEC_SOURCE + xx.name );
openpic_inittimer( t, 8 + t, OPENPIC_VEC_SOURCE - BSP_PCI_IRQ_LOWEST_OFFSET + xx.name );
openpic_settimer( t, period, 1 );
}
return 0;