* 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.
This commit is contained in:
Joel Sherrill
2008-09-17 16:16:31 +00:00
parent d965db14f6
commit a4b39697ea
3 changed files with 14 additions and 4 deletions

View File

@@ -1,3 +1,11 @@
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.
2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* bspgetworkarea.c: New file. This implementation should be useable

View File

@@ -24,8 +24,8 @@ void bsp_libc_init(
* calls for use by newlib (ie: provide open, close, etc)
* Uses malloc() to get area for the iops, so must be after malloc init
*/
rtems_libio_init();
if (rtems_libio_init_helper)
(*rtems_libio_init_helper)();
/*
* Set up for the libc handling.

View File

@@ -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)();
}