diff options
author | Joel Sherrill <joel@rtems.org> | 2016-03-10 10:33:27 -0600 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2016-03-10 10:33:27 -0600 |
commit | c3c57b1ba3c945efea3bc24d71728b6c1e40f421 (patch) | |
tree | 328a8255e8825a53a83e548273c6172941193452 /c/src/lib/libbsp/shared/console_private.h | |
parent | Add shared PCI support and enhance pc386 to support non-legacy PCI configurat... (diff) | |
download | rtems-c3c57b1ba3c945efea3bc24d71728b6c1e40f421.tar.bz2 |
pc386: Improve boot command arguments for console/printk device selection
This patch adds the "--printk=" boot command line argument to specify
the printk() device. It also enhances the "--console=" boot command
line argument to match any device configured in the console device
table. The arguments are parsed as early as possible so they take
effect early. Currently, this is immediately after PCI initialization.
Diffstat (limited to 'c/src/lib/libbsp/shared/console_private.h')
-rw-r--r-- | c/src/lib/libbsp/shared/console_private.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/shared/console_private.h b/c/src/lib/libbsp/shared/console_private.h index 52dc421e14..ee89eb2051 100644 --- a/c/src/lib/libbsp/shared/console_private.h +++ b/c/src/lib/libbsp/shared/console_private.h @@ -7,7 +7,7 @@ */ /* - * COPYRIGHT (c) 1989-2011. + * COPYRIGHT (c) 1989-2011, 2016. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -58,6 +58,16 @@ extern int bsp_com_inch(void); int vt_ioctl( unsigned int cmd, unsigned long arg); /** + * @brief console_initialize_data + * + * This must be called before dynamic registration of devices can occur. + * It is normally called as a side-effect of @a console_initialize() but + * if a probe and dynamic registration occurs before that, then this method + * should be explicitly invoked. + */ +void console_initialize_data(void); + +/** * @brief console_register_devices * * This function expands the console table to include previous |