summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k/efi332/console
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-11-01 23:09:05 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-11-01 23:09:05 +0000
commita8d0dbd30532c3c341f468fe2b03034b82b9b793 (patch)
tree007d0b709954f19ecadcf26662cf59baaa8d95cd /c/src/lib/libbsp/m68k/efi332/console
parent80277b83989c1c799309bdd9bc0485a588fa51f2 (diff)
downloadrtems-a8d0dbd30532c3c341f468fe2b03034b82b9b793.tar.bz2
2002-11-01 Joel Sherrill <joel@OARcorp.com>
* console/console.c, start/start.c: Removed warnings.
Diffstat (limited to 'c/src/lib/libbsp/m68k/efi332/console')
-rw-r--r--c/src/lib/libbsp/m68k/efi332/console/console.c62
1 files changed, 31 insertions, 31 deletions
diff --git a/c/src/lib/libbsp/m68k/efi332/console/console.c b/c/src/lib/libbsp/m68k/efi332/console/console.c
index 19653c5167..4be4139312 100644
--- a/c/src/lib/libbsp/m68k/efi332/console/console.c
+++ b/c/src/lib/libbsp/m68k/efi332/console/console.c
@@ -41,36 +41,36 @@ static volatile char _debug_flag = 0;
/* _catchSCIint, _catchCTSint, and _catchSPURIOUSint are the
interrupt front-ends */
extern void _catchSCIint();
-asm(" .text
- .align 2
- .globl _catchSCIint
-_catchSCIint:
- moveml %d0-%d7/%a0-%a6,%sp@- /* save registers */
- jbsr uart_interrupt
- moveml %sp@+,%d0-%d7/%a0-%a6
- rte
+asm(" .text\n\
+ .align 2\n\
+ .globl _catchSCIint\n\
+_catchSCIint:\n\
+ moveml %d0-%d7/%a0-%a6,%sp@- /* save registers */\n\
+ jbsr uart_interrupt\n\
+ moveml %sp@+,%d0-%d7/%a0-%a6 \n\
+ rte\n\
");
extern void _catchCTSint();
-asm(" .text
- .align 2
- .globl _catchCTSint
-_catchCTSint:
- moveml %d0-%d7/%a0-%a6,%sp@- /* save registers */
- jbsr cts_interrupt
- moveml %sp@+,%d0-%d7/%a0-%a6
- rte
+asm(" .text\n\
+ .align 2\n\
+ .globl _catchCTSint\n\
+_catchCTSint:\n\
+ moveml %d0-%d7/%a0-%a6,%sp@- /* save registers */\n\
+ jbsr cts_interrupt\n\
+ moveml %sp@+,%d0-%d7/%a0-%a6 \n\
+ rte\n\
");
extern void _catchSPURIOUSint();
-asm(" .text
- .align 2
- .globl _catchSPURIOUSint
-_catchSPURIOUSint:
- moveml %d0-%d7/%a0-%a6,%sp@- /* save registers */
- jbsr spurious_interrupt
- moveml %sp@+,%d0-%d7/%a0-%a6
- rte
+asm(" .text\n\
+ .align 2\n\
+ .globl _catchSPURIOUSint\n\
+_catchSPURIOUSint:\n\
+ moveml %d0-%d7/%a0-%a6,%sp@- /* save registers */\n\
+ jbsr spurious_interrupt\n\
+ moveml %sp@+,%d0-%d7/%a0-%a6 \n\
+ rte\n\
");
int _spurious_int_counter=0;
@@ -84,13 +84,13 @@ void spurious_interrupt(void) {
UART_ISR_LEVEL) as a trap #1 to enter the debugger */
/* *****fix me; this is for 68000 w/jsr ram exception table ******* */
-asm(" .text
- .align 2
-_fake_trap_1:
- unlk %a6 /* clear interrupt frame */
- lea %sp@(4),%sp /* remove jbsr instruction */
- moveml %sp@+,%d0-%d7/%a0-%a6 /* pop registers */
- jmp (33*6-12) /* jump exception 1 */
+asm(" .text\n\
+ .align 2\n\
+_fake_trap_1:\n\
+ unlk %a6 /* clear interrupt frame */\n\
+ lea %sp@(4),%sp /* remove jbsr instruction */\n\
+ moveml %sp@+,%d0-%d7/%a0-%a6 /* pop registers */\n\
+ jmp (33*6-12) /* jump exception 1 */\n\
");
/* dispatch UART interrupt */