diff options
author | Till Straumann <strauman@slac.stanford.edu> | 2007-12-11 05:21:12 +0000 |
---|---|---|
committer | Till Straumann <strauman@slac.stanford.edu> | 2007-12-11 05:21:12 +0000 |
commit | bbb50590b2eea941d95a60fa39b2b337e8c8ffd8 (patch) | |
tree | e07ed31cd7e9140eae5a4d2428e77f1b1a3b21c8 | |
parent | 2007-12-10 Till Straumann <strauman@slac.stanford.edu> (diff) | |
download | rtems-bbb50590b2eea941d95a60fa39b2b337e8c8ffd8.tar.bz2 |
2007-12-10 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/nested_irq_test.c: adjusted
wrong irq name/number calculation.
-rw-r--r-- | c/src/lib/libcpu/powerpc/ChangeLog | 5 | ||||
-rw-r--r-- | c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/nested_irq_test.c | 2 |
2 files changed, 6 insertions, 1 deletions
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,5 +1,10 @@ 2007-12-10 Till Straumann <strauman@slac.stanford.edu> + * new-exceptions/bspsupport/nested_irq_test.c: adjusted + wrong irq name/number calculation. + +2007-12-10 Till Straumann <strauman@slac.stanford.edu> + * new-exceptions/bspsupport/ppc_exc_hdl.c: make sure RI is set in the exception frame and panic if it isn't (state info might have been lost). This only affects 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; |