diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-09-17 16:16:31 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-09-17 16:16:31 +0000 |
commit | a4b39697ea2a05928ee3292154456fc7c4602367 (patch) | |
tree | 054216e6b4e2263513c2efe22bdcc2cbd104cd23 /c/src/lib/libbsp/shared/bsppost.c | |
parent | 2008-09-17 Miao Yan <yanmiaobest@gmail.com> (diff) | |
download | rtems-a4b39697ea2a05928ee3292154456fc7c4602367.tar.bz2 |
2008-09-17 Miao Yan <yanmiaobest@gmail.com>
* bsplibc.c, bsppost.c: Merge GSOC project code to add simple device
only filesystem (devfs), optionally completely drop out filesystem,
and to clean up disabling newlib reentrancy support. This dropped 17K
from the minimum.exe for sparc/sis and arm/rtl22xx_t now has a 15K
code space.
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/shared/bsppost.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/shared/bsppost.c b/c/src/lib/libbsp/shared/bsppost.c index 273ef3baf0..0794a9d52b 100644 --- a/c/src/lib/libbsp/shared/bsppost.c +++ b/c/src/lib/libbsp/shared/bsppost.c @@ -4,7 +4,7 @@ * Newlib will automatically associate the file descriptors * with the first thress files opened. * - * COPYRIGHT (c) 1989-2007. + * COPYRIGHT (c) 1989-2008. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -17,11 +17,13 @@ #include <fcntl.h> #include <rtems.h> +#include <rtems/libio.h> #include <rtems/libcsupport.h> #include <bsp/bootcard.h> void bsp_postdriver_hook(void) { - open_dev_console(); + if (rtems_libio_supp_helper) + (*rtems_libio_supp_helper)(); } |