summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-11-01 22:02:33 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-11-01 22:02:33 +0000
commit13597a729d5b67618141e7e5176df19b6c2e012d (patch)
tree48713af0ced210070b2a1d0f60dbaa06e7bcd157
parent75749ff8154009f5c8ea44ab40fb26ac5afeebfc (diff)
downloadrtems-13597a729d5b67618141e7e5176df19b6c2e012d.tar.bz2
2002-11-01 Joel Sherrill <joel@OARcorp.com>
* delay/delay.c, score/ispsh7032.c: Removed warnings.
-rw-r--r--c/src/lib/libcpu/sh/sh7032/ChangeLog4
-rw-r--r--c/src/lib/libcpu/sh/sh7032/delay/delay.c8
-rw-r--r--c/src/lib/libcpu/sh/sh7032/score/ispsh7032.c16
3 files changed, 16 insertions, 12 deletions
diff --git a/c/src/lib/libcpu/sh/sh7032/ChangeLog b/c/src/lib/libcpu/sh/sh7032/ChangeLog
index dd69456322..da13bb5dc9 100644
--- a/c/src/lib/libcpu/sh/sh7032/ChangeLog
+++ b/c/src/lib/libcpu/sh/sh7032/ChangeLog
@@ -1,3 +1,7 @@
+2002-11-01 Joel Sherrill <joel@OARcorp.com>
+
+ * delay/delay.c, score/ispsh7032.c: Removed warnings.
+
2002-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* .cvsignore: Reformat.
diff --git a/c/src/lib/libcpu/sh/sh7032/delay/delay.c b/c/src/lib/libcpu/sh/sh7032/delay/delay.c
index 1402b683ab..583e36e2bb 100644
--- a/c/src/lib/libcpu/sh/sh7032/delay/delay.c
+++ b/c/src/lib/libcpu/sh/sh7032/delay/delay.c
@@ -43,10 +43,10 @@ void CPU_delay( unsigned32 microseconds )
register unsigned32 _delay =
(microseconds) * (clicks_per_usec);
asm volatile (
-"0: add #-4,%0\n
- nop\n
- cmp/pl %0\n
- bt 0b
+"0: add #-4,%0\n\
+ nop\n\
+ cmp/pl %0\n\
+ bt 0b\n\
nop"
:: "r" (_delay) );
}
diff --git a/c/src/lib/libcpu/sh/sh7032/score/ispsh7032.c b/c/src/lib/libcpu/sh/sh7032/score/ispsh7032.c
index 6fbd5a0341..12ac6e6b37 100644
--- a/c/src/lib/libcpu/sh/sh7032/score/ispsh7032.c
+++ b/c/src/lib/libcpu/sh/sh7032/score/ispsh7032.c
@@ -122,14 +122,14 @@ asm (".global _"Str(name)"\n\t" \
* Dummy interrupt service procedure for
* interrupts being not allowed --> Trap 34
************************************************/
-asm(" .section .text
-.global __dummy_isp
-__dummy_isp:
- mov.l r14,@-r15
- mov r15, r14
- trapa #34
- mov.l @r15+,r14
- rte
+asm(" .section .text\n\
+.global __dummy_isp\n\
+__dummy_isp:\n\
+ mov.l r14,@-r15\n\
+ mov r15, r14\n\
+ trapa #34\n\
+ mov.l @r15+,r14\n\
+ rte\n\
nop");
/*****************************