forked from Imagelibrary/rtems
* minimum/Makefile.am, minimum/init.c: Switch back to using optional manager support. Also add use of CONFIGURE_DISABLE_NEWLIB_REENTRANCY to demonstrate that the newlib reentrancy support is optional.
44 lines
981 B
C
44 lines
981 B
C
/* Minimum Size Application 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.
|
|
*
|
|
* $Id$
|
|
*/
|
|
|
|
#include <bsp.h>
|
|
|
|
rtems_task Init(
|
|
rtems_task_argument ignored
|
|
)
|
|
{
|
|
}
|
|
|
|
/* configuration information */
|
|
|
|
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
|
#define CONFIGURE_MAXIMUM_TASKS 1
|
|
|
|
/*
|
|
* This is the smallest IO subsystem RTEMS currently supports.
|
|
*/
|
|
#define CONFIGURE_USE_MINIIMFS_AS_BASE_FILESYSTEM
|
|
|
|
/*
|
|
* This disables reentrancy support in the C Library. It is usually
|
|
* not something an application wants to do unless the development
|
|
* team is committed to using C Library routines that are KNOWN to
|
|
* be reentrant. Caveat Emptor!!
|
|
*/
|
|
#define CONFIGURE_DISABLE_NEWLIB_REENTRANCY
|
|
|
|
#define CONFIGURE_INIT
|
|
|
|
#include <rtems/confdefs.h>
|
|
|
|
/* global variables */
|