diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-02-28 23:10:39 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-02-28 23:10:39 +0000 |
commit | 274fa77780179280bf5809a0f45271186515ac43 (patch) | |
tree | acb4cc15d8f8199481335a916faee1f29d1ebb45 /c/src/lib/libbsp/m68k/mrm332/include/bsp.h | |
parent | 2002-02-28 Victor V. Vengerov <vvv@oktet.ru> (diff) | |
download | rtems-274fa77780179280bf5809a0f45271186515ac43.tar.bz2 |
2002-02-28 Mike Panetta <ahuitzot@mindspring.com>
* console/sci.c, console/sci.h,
console/console.c: Added new SCI driver.
* start/start.c: Removed file.
* start/start.S: New file, the asm portion of the updated start code.
* start/configure.am: Added start.S, removed start.c
* startup/start_c.c: New file, the C portion of the updated start code. Contains most of the code that was in the old start.c.
* startup/configure.am: Added start_c.c to C_FILES.
* include/bsp.h: Added include <rtems/bspIo.h>
Diffstat (limited to 'c/src/lib/libbsp/m68k/mrm332/include/bsp.h')
-rw-r--r-- | c/src/lib/libbsp/m68k/mrm332/include/bsp.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/m68k/mrm332/include/bsp.h b/c/src/lib/libbsp/m68k/mrm332/include/bsp.h index c8c558dc3d..75e2ec4750 100644 --- a/c/src/lib/libbsp/m68k/mrm332/include/bsp.h +++ b/c/src/lib/libbsp/m68k/mrm332/include/bsp.h @@ -22,6 +22,7 @@ extern "C" { #include <bspopts.h> #include <rtems.h> +#include <rtems/bspIo.h> #include <clockdrv.h> #include <console.h> #include <iosupp.h> @@ -35,6 +36,7 @@ extern "C" { * - Interrupt stack space is not minimum if defined. */ +#define CONSOLE_SCI /* #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2 */ /* #define CONFIGURE_INTERRUPT_STACK_MEMORY (TBD * 1024) */ @@ -102,7 +104,7 @@ extern char _copy_data_from_rom[]; #define RAW_PUTS(str) \ { register char *ptr = str; \ - while (*ptr) outbyte(*ptr++); \ + while (*ptr) SCI_output_char(*ptr++); \ } #define RAW_PUTI(n) { \ @@ -111,7 +113,7 @@ extern char _copy_data_from_rom[]; RAW_PUTS("0x"); \ for (i=28;i>=0;i -= 4) { \ j = (n>>i) & 0xf; \ - outbyte( (j>9 ? j-10+'a' : j+'0') ); \ + SCI_output_char( (j>9 ? j-10+'a' : j+'0') ); \ } \ } |