2004-03-26 Ralf Corsepius <ralf_corsepius@rtems.org>

* sh7032/score/cpu_asm.c, sh7045/score/cpu_asm.c,
	sh7750/score/cpu_asm.c: Use asm constraint "i" instead of "I" to
	pass sizeof(Context_Control) to context switch.
This commit is contained in:
Ralf Corsepius
2004-03-26 09:07:02 +00:00
parent 3e08d4ee62
commit e63a784c8a
4 changed files with 9 additions and 3 deletions

View File

@@ -1,3 +1,9 @@
2004-03-26 Ralf Corsepius <ralf_corsepius@rtems.org>
* sh7032/score/cpu_asm.c, sh7045/score/cpu_asm.c,
sh7750/score/cpu_asm.c: Use asm constraint "i" instead of "I" to
pass sizeof(Context_Control) to context switch.
2004-02-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* sh7032/Makefile.am, sh7045/Makefile.am, sh7750/Makefile.am: Don't

View File

@@ -220,7 +220,7 @@ asm volatile(
" mov.l r15,@-r4\n"
" mov r5, r4\n"
:: "I" (sizeof(Context_Control))
:: "i" (sizeof(Context_Control))
);
asm volatile(

View File

@@ -222,7 +222,7 @@ __CPU_Context_switch:\n\
mov.l r15,@-r4\n\
\n\
mov r5, r4"
:: "I" (sizeof(Context_Control))
:: "i" (sizeof(Context_Control))
);
asm volatile("\n\

View File

@@ -219,7 +219,7 @@ __CPU_Context_switch:\n\
mov.l r15,@-r4\n\
\n\
mov r5, r4"
:: "I" (sizeof(Context_Control))
:: "i" (sizeof(Context_Control))
);
asm volatile("\n\