diff options
Diffstat (limited to 'c/src/lib/libbsp/powerpc/mcp750/console')
-rw-r--r-- | c/src/lib/libbsp/powerpc/mcp750/console/Makefile.in | 2 | ||||
-rw-r--r-- | c/src/lib/libbsp/powerpc/mcp750/console/console.c | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/c/src/lib/libbsp/powerpc/mcp750/console/Makefile.in b/c/src/lib/libbsp/powerpc/mcp750/console/Makefile.in index 7af8cf54bb..02639f189d 100644 --- a/c/src/lib/libbsp/powerpc/mcp750/console/Makefile.in +++ b/c/src/lib/libbsp/powerpc/mcp750/console/Makefile.in @@ -14,7 +14,7 @@ PROJECT_ROOT = @PROJECT_ROOT@ VPATH = @srcdir@:@srcdir@/../../../shared # C source names, if any, go here -- minus the .c -C_PIECES = polled_io uart console inch +C_PIECES = polled_io uart console inch console_reserve_resources C_FILES = $(C_PIECES:%=%.c) C_O_FILES = $(C_PIECES:%=${ARCH}/%.o) diff --git a/c/src/lib/libbsp/powerpc/mcp750/console/console.c b/c/src/lib/libbsp/powerpc/mcp750/console/console.c index 834f960cfc..fc50656af1 100644 --- a/c/src/lib/libbsp/powerpc/mcp750/console/console.c +++ b/c/src/lib/libbsp/powerpc/mcp750/console/console.c @@ -45,10 +45,10 @@ extern int close(int fd); * BSP_UART_COM2 */ -int BSPConsolePort = BSP_UART_COM1; +extern int BSPConsolePort; /* int BSPConsolePort = BSP_UART_COM2; */ -int BSPBaseBaud = 115200; +extern int BSPBaseBaud; /*-------------------------------------------------------------------------+ | External Prototypes @@ -84,6 +84,7 @@ isr_is_on(const rtems_irq_connect_data *irq) return BSP_irq_enabled_at_i8259s(irq->name); } +/* void console_reserve_resources(rtems_configuration_table *conf) { if(BSPConsolePort != BSP_CONSOLE_PORT_CONSOLE) @@ -93,6 +94,7 @@ void console_reserve_resources(rtems_configuration_table *conf) return; } +*/ void __assert (const char *file, int line, const char *msg) { |