2002-11-01 Joel Sherrill <joel@OARcorp.com>

* delay/delay.c, score/ispsh7032.c: Removed warnings.
This commit is contained in:
Joel Sherrill
2002-11-01 22:02:33 +00:00
parent 75749ff815
commit 13597a729d
3 changed files with 16 additions and 12 deletions
+4
View File
@@ -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.
+4 -4
View File
@@ -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) );
}
+8 -8
View File
@@ -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");
/*****************************