forked from Imagelibrary/rtems
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:
@@ -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
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -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\
|
||||
|
||||
@@ -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\
|
||||
|
||||
Reference in New Issue
Block a user