Commit 7a90e00d authored by Paul Mundt's avatar Paul Mundt

sh: Make sure rte delay slots are nopped out on all parts.

Future SH parts do not support any instruction but a nop in the rte delay
slot, so make the change for all offending parts. SH-5 is excluded from
this, and already has its own set of restrictions with regards to rte
delay slot handling.
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 606b4c99
...@@ -227,8 +227,9 @@ ENTRY(sh_bios_handler) ...@@ -227,8 +227,9 @@ ENTRY(sh_bios_handler)
mov.l @r15+, r14 mov.l @r15+, r14
add #8,r15 add #8,r15
lds.l @r15+, pr lds.l @r15+, pr
mov.l @r15+,r15
rte rte
mov.l @r15+,r15 nop
.align 2 .align 2
1: .long gdb_vbr_vector 1: .long gdb_vbr_vector
#endif /* CONFIG_SH_STANDARD_BIOS */ #endif /* CONFIG_SH_STANDARD_BIOS */
......
...@@ -176,8 +176,9 @@ ENTRY(sh_bios_handler) ...@@ -176,8 +176,9 @@ ENTRY(sh_bios_handler)
movml.l @r15+,r14 movml.l @r15+,r14
add #8,r15 add #8,r15
lds.l @r15+, pr lds.l @r15+, pr
mov.l @r15+,r15
rte rte
mov.l @r15+,r15 nop
.align 2 .align 2
1: .long gdb_vbr_vector 1: .long gdb_vbr_vector
#endif /* CONFIG_SH_STANDARD_BIOS */ #endif /* CONFIG_SH_STANDARD_BIOS */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment