diff options
author | Gedare Bloom <gedare@rtems.org> | 2011-11-06 16:48:36 +0000 |
---|---|---|
committer | Gedare Bloom <gedare@rtems.org> | 2011-11-06 16:48:36 +0000 |
commit | 05e75a4b050c613201556be9569c0539d6abc203 (patch) | |
tree | de96f000215fc5c6117c8e5a1ab5a4819ceea1fa /c | |
parent | 2011-11-06 gedare@rtems.org (diff) | |
download | rtems-05e75a4b050c613201556be9569c0539d6abc203.tar.bz2 |
2011-11-06 gedare@rtems.org
* shared/score/interrupt.S: Pass ISR correct pointer to interrupt frame
Diffstat (limited to 'c')
-rw-r--r-- | c/src/lib/libcpu/sparc64/ChangeLog | 4 | ||||
-rw-r--r-- | c/src/lib/libcpu/sparc64/shared/score/interrupt.S | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/c/src/lib/libcpu/sparc64/ChangeLog b/c/src/lib/libcpu/sparc64/ChangeLog index 3dc7e4ed4e..734d65ae26 100644 --- a/c/src/lib/libcpu/sparc64/ChangeLog +++ b/c/src/lib/libcpu/sparc64/ChangeLog @@ -1,3 +1,7 @@ +2011-11-06 gedare@rtems.org + + * shared/score/interrupt.S: Pass ISR correct pointer to interrupt frame + 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org> * shared/cache/cache.c: diff --git a/c/src/lib/libcpu/sparc64/shared/score/interrupt.S b/c/src/lib/libcpu/sparc64/shared/score/interrupt.S index a8169025ea..1f666116bb 100644 --- a/c/src/lib/libcpu/sparc64/shared/score/interrupt.S +++ b/c/src/lib/libcpu/sparc64/shared/score/interrupt.S @@ -161,6 +161,7 @@ PUBLIC(_ISR_Handler) mov %o1, %g2 ! get the trap # mov %o5, %g7 ! store the interrupted %sp (preserve) mov %sp, %o1 ! 2nd arg to ISR Handler = address of ISF + add %o1, STACK_BIAS, %o1 ! need to adjust for stack bias, 2nd arg = ISF /* * Increment ISR nest level and Thread dispatch disable level. |