source: rtems/testsuites/samples/fileio/system.h @ 3a9d9e1

4.115
Last change on this file since 3a9d9e1 was 7c1e6942, checked in by Joel Sherrill <joel.sherrill@…>, on 05/05/11 at 16:45:40

2011-05-05 Joel Sherrill <joel.sherrill@…>

  • base_sp/apptask.c, base_sp/init.c, fileio/init.c, fileio/system.h, nsecs/init.c, ticker/init.c, ticker/system.h, ticker/tasks.c: Remove warnings.
  • Property mode set to 100644
File size: 1.7 KB
Line 
1/*  system.h
2 *
3 *  This include file contains information that is included in every
4 *  function in the test set.
5 *
6 *  COPYRIGHT (c) 1989-2009.
7 *  On-Line Applications Research Corporation (OAR).
8 *
9 *  The license and distribution terms for this file may be
10 *  found in the file LICENSE in this distribution or at
11 *  http://www.rtems.com/license/LICENSE.
12 *
13 *  system.h,v 1.13 2000/06/12 15:00:12 joel Exp
14 */
15
16#include <rtems.h>
17#include "tmacros.h"
18
19/* functions */
20
21rtems_task Init(
22  rtems_task_argument argument
23);
24
25/* global variables */
26
27
28/* configuration information */
29
30#include <bsp.h> /* for device driver prototypes */
31
32#define FILEIO_BUILD 1
33#if BSP_SMALL_MEMORY
34#undef FILEIO_BUILD
35#endif
36
37#if defined(RTEMS_BSP_HAS_IDE_DRIVER) && !BSP_SMALL_MEMORY
38#include <libchip/ata.h> /* for ata driver prototype */
39#include <libchip/ide_ctrl.h> /* for general ide driver prototype */
40#endif
41
42#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
43#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
44#ifdef RTEMS_BSP_HAS_IDE_DRIVER
45#define CONFIGURE_APPLICATION_NEEDS_IDE_DRIVER
46#endif
47#define CONFIGURE_APPLICATION_NEEDS_LIBBLOCK
48#define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM
49
50/*
51 * XXX: these values are higher than needed...
52 */
53#define CONFIGURE_MAXIMUM_TASKS             20
54#define CONFIGURE_MAXIMUM_SEMAPHORES        20
55#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES    20
56#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 20
57#define CONFIGURE_STACK_CHECKER_ENABLED
58#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
59
60#define CONFIGURE_EXTRA_TASK_STACKS         (6 * RTEMS_MINIMUM_STACK_SIZE)
61
62#define CONFIGURE_MALLOC_STATISTICS
63
64#define CONFIGURE_UNIFIED_WORK_AREAS
65#include <rtems/confdefs.h>
66
67/* end of include file */
Note: See TracBrowser for help on using the repository browser.