mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-20 22:55:36 +08:00
2002-11-01 Joel Sherrill <joel@OARcorp.com>
* delay/delay.c, score/ispsh7032.c: Removed warnings.
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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) );
|
||||
}
|
||||
|
||||
@@ -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");
|
||||
|
||||
/*****************************
|
||||
|
||||
Reference in New Issue
Block a user