diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-05-01 23:09:09 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-05-01 23:09:09 +0000 |
commit | 4f38ab058ed5f75aff11c3e3c9e974ebb0dfa17a (patch) | |
tree | fdb3d36f62e7cc1aab6a7ce1e5d94fc62b02fa42 /c/src/lib/libbsp/m68k/mvme167/fatal | |
parent | 2002-04-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff) | |
download | rtems-4f38ab058ed5f75aff11c3e3c9e974ebb0dfa17a.tar.bz2 |
2002-05-01 Eric Norum <eric.norum@usask.ca>
* console/console.c, fatal/bspfatal.c, startup/bspclean.c,
startup/page_table.c: Per PR200 fix multi-line inline assembly
to satisfy gcc 3.1 and newer.
Diffstat (limited to 'c/src/lib/libbsp/m68k/mvme167/fatal')
-rw-r--r-- | c/src/lib/libbsp/m68k/mvme167/fatal/bspfatal.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/c/src/lib/libbsp/m68k/mvme167/fatal/bspfatal.c b/c/src/lib/libbsp/m68k/mvme167/fatal/bspfatal.c index 8f1f69f999..808a25c81b 100644 --- a/c/src/lib/libbsp/m68k/mvme167/fatal/bspfatal.c +++ b/c/src/lib/libbsp/m68k/mvme167/fatal/bspfatal.c @@ -116,12 +116,12 @@ User_extensions_routine bsp_fatal_error_occurred( lcsr->intr_ena = 0; /* disable interrupts */ m68k_set_vbr(0xFFE00000); /* restore 167Bug vectors */ - asm volatile( "movel %0, -(%%a7) - pea (%%a7) - pea (%1) - trap #15 /* trap to 167Bug (.WRITDLN) */ - .short 0x25 - trap #15 - .short 0x63" + asm volatile( "movel %0, -(%%a7)\n\t" + "pea (%%a7)\n\t" + "pea (%1)\n\t" + "trap #15\n\t" /* trap to 167Bug (.WRITDLN) */ + ".short 0x25\n\t" + "trap #15\n\t" + ".short 0x63" :: "d" (the_error), "a" (&my_p_str) ); } |