summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/i386/pc386/include/bsp.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/i386/pc386/include/bsp.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 '')
-rw-r--r--c/src/lib/libbsp/i386/pc386/include/bsp.h6
1 files changed, 6 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 5778c75696..ed5c31947e 100644
--- a/c/src/lib/libbsp/i386/pc386/include/bsp.h
+++ b/c/src/lib/libbsp/i386/pc386/include/bsp.h
@@ -282,6 +282,12 @@ void C_dispatch_isr(int vector);
const pci_config_access_functions *pci_bios_initialize(void);
const pci_config_access_functions *pci_io_initialize(void);
+/*
+ * Helper to parse boot command line arguments related to the console driver
+ */
+void pc386_parse_console_arguments(void);
+
+
#ifdef __cplusplus
}
#endif