diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2011-02-01 01:14:54 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2011-02-01 01:14:54 +0000 |
commit | 0566429284ebd3211ed418b0441c50a5037e482e (patch) | |
tree | 99631f1cee4ae63bb494cb06a69ddf894565aae4 /cpukit/score | |
parent | 2011-01-31 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-0566429284ebd3211ed418b0441c50a5037e482e.tar.bz2 |
2011-01-31 Joel Sherrill <joel.sherrill@oarcorp.com>
* context_switch.S: Reverse registers.
Diffstat (limited to 'cpukit/score')
-rw-r--r-- | cpukit/score/cpu/m32r/ChangeLog | 4 | ||||
-rw-r--r-- | cpukit/score/cpu/m32r/context_switch.S | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/cpukit/score/cpu/m32r/ChangeLog b/cpukit/score/cpu/m32r/ChangeLog index aa584ae9e5..81b4994114 100644 --- a/cpukit/score/cpu/m32r/ChangeLog +++ b/cpukit/score/cpu/m32r/ChangeLog @@ -1,3 +1,7 @@ +2011-01-31 Joel Sherrill <joel.sherrill@oarcorp.com> + + * context_switch.S: Reverse registers. + 2010-10-21 Joel Sherrill <joel.sherrill@oarcorp.com> * rtems/score/cpu.h: Add RTEMS_COMPILER_NO_RETURN_ATTRIBUTE to diff --git a/cpukit/score/cpu/m32r/context_switch.S b/cpukit/score/cpu/m32r/context_switch.S index 10baac910d..dd95a461fb 100644 --- a/cpukit/score/cpu/m32r/context_switch.S +++ b/cpukit/score/cpu/m32r/context_switch.S @@ -65,5 +65,5 @@ restore: .global _CPU_Context_Restart_self .type _CPU_Context_Restart_self, @function _CPU_Context_Restart_self: - mv r0, r1 + mv r1, r0 bra restore |