summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/h8300/cpu_asm.S
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-10-14 21:28:20 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-10-14 21:28:20 +0000
commitf1cf0196294588be17c628e4e87f9904a5c2a426 (patch)
treed0cc4e77f348c0020f78aea26fedea813af3d932 /cpukit/score/cpu/h8300/cpu_asm.S
parent2008-10-14 Steven Grunza <grunza@ulticom.com> (diff)
downloadrtems-f1cf0196294588be17c628e4e87f9904a5c2a426.tar.bz2
2008-10-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpu_asm.S: Enable same code paths for SX. Tested on simulator.
Diffstat (limited to 'cpukit/score/cpu/h8300/cpu_asm.S')
-rw-r--r--cpukit/score/cpu/h8300/cpu_asm.S8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/score/cpu/h8300/cpu_asm.S b/cpukit/score/cpu/h8300/cpu_asm.S
index c614e55593..6b15d2d32d 100644
--- a/cpukit/score/cpu/h8300/cpu_asm.S
+++ b/cpukit/score/cpu/h8300/cpu_asm.S
@@ -51,7 +51,7 @@
__CPU_Context_switch:
/* Save Context */
-#if defined(__H8300H__) || defined(__H8300S__)
+#if defined(__H8300H__) || defined(__H8300S__) || defined(__H8300SX__)
stc.w ccr,@(0:16,er0)
mov.l er7,@(2:16,er0)
mov.l er6,@(6:16,er0)
@@ -80,7 +80,7 @@ restore:
__CPU_Context_restore:
-#if defined(__H8300H__) || defined(__H8300S__)
+#if defined(__H8300H__) || defined(__H8300S__) || defined(__H8300SX__)
mov.l er0,er1
jmp @restore:24
#endif
@@ -103,7 +103,7 @@ __CPU_Context_restore:
__ISR_Handler:
-#if defined(__H8300H__) || defined(__H8300S__)
+#if defined(__H8300H__) || defined(__H8300S__) || defined(__H8300SX__)
mov.l er1,@-er7
mov.l er2,@-er7
mov.l er3,@-er7
@@ -200,7 +200,7 @@ exit:
_ISR_Dispatch:
-#if defined(__H8300H__) || defined(__H8300S__)
+#if defined(__H8300H__) || defined(__H8300S__) || defined(__H8300SX__)
jsr @__Thread_Dispatch
mov @er7+,er6
mov @er7+,er5