summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/shared/console_private.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2016-03-10 10:33:27 -0600
committerJoel Sherrill <joel@rtems.org>2016-03-10 10:33:27 -0600
commitc3c57b1ba3c945efea3bc24d71728b6c1e40f421 (patch)
tree328a8255e8825a53a83e548273c6172941193452 /c/src/lib/libbsp/shared/console_private.h
parentAdd shared PCI support and enhance pc386 to support non-legacy PCI configurat... (diff)
downloadrtems-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.h12
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