source: rtems/testsuites/samples/minimum/init.c @ 6b6c06b

4.104.114.84.95
Last change on this file since 6b6c06b was 6b6c06b, checked in by Joel Sherrill <joel.sherrill@…>, on 05/09/07 at 18:55:12

2007-05-09 Joel Sherrill <joel.sherrill@…>

  • 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.
  • Property mode set to 100644
File size: 981 bytes
Line 
1/*  Minimum Size Application Initialization
2 *
3 *  COPYRIGHT (c) 1989-2007.
4 *  On-Line Applications Research Corporation (OAR).
5 *
6 *  The license and distribution terms for this file may be
7 *  found in the file LICENSE in this distribution or at
8 *  http://www.rtems.com/license/LICENSE.
9 *
10 *  $Id$
11 */
12
13#include <bsp.h>
14
15rtems_task Init(
16  rtems_task_argument ignored
17)
18{
19}
20
21/* configuration information */
22
23#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
24#define CONFIGURE_MAXIMUM_TASKS 1
25
26/*
27 *  This is the smallest IO subsystem RTEMS currently supports.
28 */
29#define CONFIGURE_USE_MINIIMFS_AS_BASE_FILESYSTEM
30
31/*
32 *  This disables reentrancy support in the C Library.  It is usually
33 *  not something an application wants to do unless the development
34 *  team is committed to using C Library routines that are KNOWN to
35 *  be reentrant.  Caveat Emptor!!
36 */
37#define CONFIGURE_DISABLE_NEWLIB_REENTRANCY
38
39#define CONFIGURE_INIT
40
41#include <rtems/confdefs.h>
42
43/* global variables */
Note: See TracBrowser for help on using the repository browser.