diff options
author | Chris Johns <chrisj@rtems.org> | 2009-04-28 06:20:35 +0000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2009-04-28 06:20:35 +0000 |
commit | 1c5ebc542167a74791cf5e82845e00b4f8ff6330 (patch) | |
tree | e0b839e0a1ef204877767c7d0b9b1f90b1f45a2e /c/src/lib/libbsp/i386/pc386/include | |
parent | 2009-04-28 Chris Johns <chrisj@rtems.org> (diff) | |
download | rtems-1c5ebc542167a74791cf5e82845e00b4f8ff6330.tar.bz2 |
2009-04-28 Chris Johns <chrisj@rtems.org>
* 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.
Diffstat (limited to 'c/src/lib/libbsp/i386/pc386/include')
-rw-r--r-- | c/src/lib/libbsp/i386/pc386/include/bsp.h | 11 |
1 files changed, 11 insertions, 0 deletions
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 @@ -183,6 +183,17 @@ void Wait_X_ms(unsigned int timeToWait); /* from 'timer.c' */ #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 */ #define RTEMS_BSP_HAS_IDE_DRIVER |