summaryrefslogtreecommitdiffstats
path: root/libgloss/or1k/include/or1k-asm.h
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2015-05-26 15:19:13 -0400
committerCorinna Vinschen <corinna@vinschen.de>2015-05-27 13:30:19 +0200
commit132030fcf203a50c5c85f162135bb92b08021bf5 (patch)
tree6e51331d0adcfba964600b82bedaaab782ae07ef /libgloss/or1k/include/or1k-asm.h
parent324bd1170642cf2c2fd963350aa428e0cc5a88fb (diff)
downloadcygnal-132030fcf203a50c5c85f162135bb92b08021bf5.tar.gz
cygnal-132030fcf203a50c5c85f162135bb92b08021bf5.tar.bz2
cygnal-132030fcf203a50c5c85f162135bb92b08021bf5.zip
Fix interrupt handling for or1k.
- During interrupt handling the PICSR, table pointers and current interrupt line have been saved in incorrect registers and/or stored on the stack. - Save the pointer in r16/r18, PICSR in r20 and the current interrupt line in r22. Those are callee-saved registers, so that the register values will be preserved. * or1k/interruts-asm.S: Change registers to callee-saved.
Diffstat (limited to 'libgloss/or1k/include/or1k-asm.h')
0 files changed, 0 insertions, 0 deletions