diff options
author | Till Straumann <strauman@slac.stanford.edu> | 2009-10-28 01:24:10 +0000 |
---|---|---|
committer | Till Straumann <strauman@slac.stanford.edu> | 2009-10-28 01:24:10 +0000 |
commit | 7699617f2ad500878376891d805099dc5c57af99 (patch) | |
tree | 4589531735ad8be60974774e7e413041faf7d869 /c/src/lib/libbsp/i386/pc386/include/bsp.h | |
parent | 2009-10-27 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-7699617f2ad500878376891d805099dc5c57af99.tar.bz2 |
2009-12-27 Till Straumann <strauman@slac.stanford.edu>
* include/bsp.h, console/console.c: Provide weak-alias
hook so that the application may choose the console.
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/i386/pc386/include/bsp.h | 8 |
1 files changed, 8 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 80fd33978f..ddf0ded9c6 100644 --- a/c/src/lib/libbsp/i386/pc386/include/bsp.h +++ b/c/src/lib/libbsp/i386/pc386/include/bsp.h @@ -61,6 +61,14 @@ extern "C" { */ struct rtems_bsdnet_ifconfig; +/* app. may provide a routine (called _very_ early) to tell us + * which ports to use for printk / console. BSP provides a default + * implementation (weak alias) which does nothing (use BSP default + * ports). + */ +extern void +BSP_runtime_console_select(int *pPrintkPort, int *pConsolePort); + extern int rtems_ne_driver_attach(struct rtems_bsdnet_ifconfig *, int); #define BSP_NE2000_NETWORK_DRIVER_NAME "ne1" #define BSP_NE2000_NETWORK_DRIVER_ATTACH rtems_ne_driver_attach |