diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2003-04-10 16:35:33 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2003-04-10 16:35:33 +0000 |
commit | 0d6849e76a7da35135a6f50ed8520ce643519f8e (patch) | |
tree | 951098f3629cb54e035daa5a5781d3586a8dbb0a /c/src/lib/libbsp/powerpc/shared/console/consoleIo.h | |
parent | 2003-04-10 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-0d6849e76a7da35135a6f50ed8520ce643519f8e.tar.bz2 |
2003-04-10 Till Straumann <strauman@slac.stanford.edu>
PR 379/bsps
* console/polled_io.c: libcpu provides 'printk' already.
Therefore, the implementation in this file was removed (still
used for the bootloader, though). It now provides BSP_output_char()
for libcpu's printk().
* console/uart.c, console/uart.h: BSP_output_char_via_serial()
prototype changed to match the BSP_output_char_function_type. Note
that the motorola BSPs use polled-io for the output_char routine, not
the uart.c version. The latter can be used be other BSPs however
(e.g. SVGM).
* console/console.c, console/consoleIo.h, console/polled_io.c,
irq/irq_init.c, openpic/openpic.c, pci/detect_raven_bridge.c:
Unfortunately, the supported 'printk' format string subset of the
polled-io and libcpu implementations are different - hence, a few
format strings in the ppc/shared BSP were changed.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/shared/console/consoleIo.h')
-rw-r--r-- | c/src/lib/libbsp/powerpc/shared/console/consoleIo.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/powerpc/shared/console/consoleIo.h b/c/src/lib/libbsp/powerpc/shared/console/consoleIo.h index 50ad0428a4..220b5ee8cd 100644 --- a/c/src/lib/libbsp/powerpc/shared/console/consoleIo.h +++ b/c/src/lib/libbsp/powerpc/shared/console/consoleIo.h @@ -33,6 +33,7 @@ extern board_memory_map *ptr_mem_map; extern int select_console(ioType t); /* extern int printk(const char *, ...) __attribute__((format(printf, 1, 2))); */ extern void debug_putc(const unsigned char c); +extern void debug_putc_onlcr(const char c); extern int debug_getc(void); extern int debug_tstc(void); int kbdreset(void); |