forked from Imagelibrary/rtems
2008-09-17 Miao Yan <yanmiaobest@gmail.com>
* optman/Makefile.am, optman/preinstall.am: 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. * optman/no-console.c, optman/no-filesystem.c, optman/no-libio.c: Removed.
This commit is contained in:
@@ -1,3 +1,13 @@
|
||||
2008-09-17 Miao Yan <yanmiaobest@gmail.com>
|
||||
|
||||
* optman/Makefile.am, optman/preinstall.am: 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.
|
||||
* optman/no-console.c, optman/no-filesystem.c, optman/no-libio.c:
|
||||
Removed.
|
||||
|
||||
2008-09-08 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* libchip/ide/ata.h: Convert to Unix file format.
|
||||
|
||||
@@ -73,15 +73,5 @@ no_timer_rel_SOURCES = rtems/no-timer.c
|
||||
no_timer_rel_CPPFLAGS = $(AM_CPPFLAGS)
|
||||
no_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
|
||||
|
||||
project_lib_PROGRAMS += no-filesystem.rel
|
||||
no_filesystem_rel_SOURCES = no-filesystem.c no-libio.c
|
||||
no_filesystem_rel_CPPFLAGS = $(AM_CPPFLAGS)
|
||||
no_filesystem_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
|
||||
|
||||
project_lib_PROGRAMS += no-console.rel
|
||||
no_console_rel_SOURCES = no-console.c
|
||||
no_console_rel_CPPFLAGS = $(AM_CPPFLAGS)
|
||||
no_console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
|
||||
|
||||
include $(srcdir)/preinstall.am
|
||||
include $(top_srcdir)/automake/local.am
|
||||
|
||||
@@ -1,21 +0,0 @@
|
||||
/*
|
||||
* Console Initialization Stub
|
||||
*
|
||||
* COPYRIGHT (c) 1989-2007.
|
||||
* On-Line Applications Research Corporation (OAR).
|
||||
*
|
||||
* The license and distribution terms for this file may be
|
||||
* found in the file LICENSE in this distribution or at
|
||||
* http://www.rtems.com/license/LICENSE.
|
||||
*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
#if HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
void open_dev_console(void)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -1,32 +0,0 @@
|
||||
/*
|
||||
* Stub Base file system initialization
|
||||
*
|
||||
* COPYRIGHT (c) 1989-2007.
|
||||
* On-Line Applications Research Corporation (OAR).
|
||||
*
|
||||
* The license and distribution terms for this file may be
|
||||
* found in the file LICENSE in this distribution or at
|
||||
* http://www.rtems.com/license/LICENSE.
|
||||
*
|
||||
*/
|
||||
|
||||
#if HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include <rtems.h>
|
||||
#include <rtems/libio.h>
|
||||
#include <rtems/libio_.h>
|
||||
|
||||
rtems_user_env_t rtems_global_user_env;
|
||||
rtems_user_env_t *rtems_current_user_env;
|
||||
|
||||
/*
|
||||
* rtems_filesystem_initialize
|
||||
*
|
||||
* Initialize the foundation of the file system. It is an empty function.
|
||||
*/
|
||||
|
||||
void rtems_filesystem_initialize( void )
|
||||
{
|
||||
}
|
||||
@@ -1,49 +0,0 @@
|
||||
/*
|
||||
* Stub Base libio initialization
|
||||
*
|
||||
* COPYRIGHT (c) 1989-2007.
|
||||
* On-Line Applications Research Corporation (OAR).
|
||||
*
|
||||
* The license and distribution terms for this file may be
|
||||
* found in the file LICENSE in this distribution or at
|
||||
* http://www.rtems.com/license/LICENSE.
|
||||
*
|
||||
*/
|
||||
|
||||
#if HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include <rtems/libio_.h> /* libio_.h pulls in rtems */
|
||||
#include <rtems.h>
|
||||
#include <rtems/assoc.h> /* assoc.h not included by rtems.h */
|
||||
|
||||
#include <stdio.h> /* O_RDONLY, et.al. */
|
||||
#include <fcntl.h> /* O_RDONLY, et.al. */
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include <errno.h>
|
||||
#include <string.h> /* strcmp */
|
||||
#include <unistd.h>
|
||||
#include <stdlib.h> /* calloc() */
|
||||
|
||||
#include <rtems/libio.h> /* libio.h not pulled in by rtems */
|
||||
|
||||
/*
|
||||
* File descriptor Table Information
|
||||
*/
|
||||
|
||||
extern uint32_t rtems_libio_number_iops;
|
||||
rtems_id rtems_libio_semaphore;
|
||||
rtems_libio_t *rtems_libio_iops;
|
||||
rtems_libio_t *rtems_libio_iop_freelist;
|
||||
|
||||
/*
|
||||
* rtems_libio_init
|
||||
*
|
||||
* Called by BSP startup code to initialize the libio subsystem.
|
||||
*/
|
||||
void rtems_libio_init( void )
|
||||
{
|
||||
}
|
||||
@@ -70,11 +70,3 @@ $(PROJECT_LIB)/no-timer.rel: no-timer.rel $(PROJECT_LIB)/$(dirstamp)
|
||||
$(INSTALL_PROGRAM) $< $(PROJECT_LIB)/no-timer.rel
|
||||
TMPINSTALL_FILES += $(PROJECT_LIB)/no-timer.rel
|
||||
|
||||
$(PROJECT_LIB)/no-filesystem.rel: no-filesystem.rel $(PROJECT_LIB)/$(dirstamp)
|
||||
$(INSTALL_PROGRAM) $< $(PROJECT_LIB)/no-filesystem.rel
|
||||
TMPINSTALL_FILES += $(PROJECT_LIB)/no-filesystem.rel
|
||||
|
||||
$(PROJECT_LIB)/no-console.rel: no-console.rel $(PROJECT_LIB)/$(dirstamp)
|
||||
$(INSTALL_PROGRAM) $< $(PROJECT_LIB)/no-console.rel
|
||||
TMPINSTALL_FILES += $(PROJECT_LIB)/no-console.rel
|
||||
|
||||
|
||||
Reference in New Issue
Block a user