diff --git a/c/src/lib/libcpu/powerpc/ChangeLog b/c/src/lib/libcpu/powerpc/ChangeLog index b9ae8f072d..9759a26e2d 100644 --- a/c/src/lib/libcpu/powerpc/ChangeLog +++ b/c/src/lib/libcpu/powerpc/ChangeLog @@ -1,3 +1,8 @@ +2007-12-10 Till Straumann + + * new-exceptions/bspsupport/nested_irq_test.c: adjusted + wrong irq name/number calculation. + 2007-12-10 Till Straumann * new-exceptions/bspsupport/ppc_exc_hdl.c: make sure diff --git a/c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/nested_irq_test.c b/c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/nested_irq_test.c index 999563d12a..45ec497bdc 100644 --- a/c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/nested_irq_test.c +++ b/c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/nested_irq_test.c @@ -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;