From 0d6849e76a7da35135a6f50ed8520ce643519f8e Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 10 Apr 2003 16:35:33 +0000 Subject: 2003-04-10 Till Straumann 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. --- c/src/lib/libbsp/powerpc/shared/console/consoleIo.h | 1 + 1 file changed, 1 insertion(+) (limited to 'c/src/lib/libbsp/powerpc/shared/console/consoleIo.h') 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); -- cgit v1.2.3