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 May 9, 2007 at 6:55:12 PM

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
RevLine 
[2dae3244]1/*  Minimum Size Application Initialization
[d7851582]2 *
[2dae3244]3 *  COPYRIGHT (c) 1989-2007.
[d7851582]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
[3e26377b]8 *  http://www.rtems.com/license/LICENSE.
[d7851582]9 *
10 *  $Id$
11 */
12
[df49c60]13#include <bsp.h>
[d7851582]14
15rtems_task Init(
16  rtems_task_argument ignored
17)
18{
19}
20
21/* configuration information */
22
23#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
[2dae3244]24#define CONFIGURE_MAXIMUM_TASKS 1
[df49c60]25
[6b6c06b]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
[d7851582]39#define CONFIGURE_INIT
40
[c8fea7a]41#include <rtems/confdefs.h>
[d7851582]42
43/* global variables */
Note: See TracBrowser for help on using the repository browser.