From 1c5ebc542167a74791cf5e82845e00b4f8ff6330 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Tue, 28 Apr 2009 06:20:35 +0000 Subject: 2009-04-28 Chris Johns * Makefile.am: Add bspcmdline.c. * include/bsp.h: Add boot command line interfaces. * start/start.c: Save the multiboot command line. Pass the command line to boot_card. * start/start.S: Update for boot_card command line change. * startup/bspstart.c: Initialise the command line. * startup/bspcmdline.c: New. * console/console.c, ide/idecfg.c: Add boot command line support. --- c/src/lib/libbsp/i386/pc386/include/bsp.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'c/src/lib/libbsp/i386/pc386/include') diff --git a/c/src/lib/libbsp/i386/pc386/include/bsp.h b/c/src/lib/libbsp/i386/pc386/include/bsp.h index a3b484f04a..0df6e9067e 100644 --- a/c/src/lib/libbsp/i386/pc386/include/bsp.h +++ b/c/src/lib/libbsp/i386/pc386/include/bsp.h @@ -182,6 +182,17 @@ void Wait_X_ms(unsigned int timeToWait); /* from 'timer.c' */ #define BSP_CONSOLE_PORT_COM1 (BSP_UART_COM1) #define BSP_CONSOLE_PORT_COM2 (BSP_UART_COM2) +/* + * Command line. + */ +const char* bsp_cmdline(void); +const char* bsp_cmdline_arg(const char* arg); + +/* + * IDE command line parsing. + */ +void bsp_ide_cmdline_init(void); + /* * indicate, that BSP has IDE driver */ -- cgit v1.2.3