From 02fd09a8643316c42ba72077d2697146a68704ab Mon Sep 17 00:00:00 2001 From: ryuz Date: Wed, 29 Nov 2006 15:27:59 +0000 Subject: [PATCH] (none) --- kernel/source/arch/proc/sh/sh2/gcc/ctxctl.S | 6 ++++-- kernel/source/arch/proc/sh/sh2/shc/ctxctl.src | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/kernel/source/arch/proc/sh/sh2/gcc/ctxctl.S b/kernel/source/arch/proc/sh/sh2/gcc/ctxctl.S index d32de84..dc80eed 100755 --- a/kernel/source/arch/proc/sh/sh2/gcc/ctxctl.S +++ b/kernel/source/arch/proc/sh/sh2/gcc/ctxctl.S @@ -28,8 +28,9 @@ __kernel_dis_int: stc sr, r0 or #0xf0, r0 /* 全割り込みマスク */ - rts ldc r0, sr + rts + nop @@ -45,8 +46,9 @@ __kernel_ena_int: or #0xf0, r0 xor #0xf0, r0 or r1, r0 /* 割り込みマスクの値を設定 */ - rts ldc r0, sr + rts + nop .align 2 addr_sh_imsk: diff --git a/kernel/source/arch/proc/sh/sh2/shc/ctxctl.src b/kernel/source/arch/proc/sh/sh2/shc/ctxctl.src index a0b4448..5d7a160 100755 --- a/kernel/source/arch/proc/sh/sh2/shc/ctxctl.src +++ b/kernel/source/arch/proc/sh/sh2/shc/ctxctl.src @@ -31,8 +31,9 @@ __kernel_dis_int: stc sr, r0 or #h'f0, r0 ; 全割り込みマスク - rts ldc r0, sr + rts + nop @@ -49,8 +50,9 @@ __kernel_ena_int: or #h'f0, r0 xor #h'f0, r0 or r1, r0 ; 割り込みマスクの値を設定 - rts ldc r0, sr + rts + nop .ALIGN 4 addr_sh_imsk: -- 2.11.0