source: rtems/testsuites/samples/fileio/system.h @ 3324383c

4.11
Last change on this file since 3324383c was 3324383c, checked in by Joel Sherrill <joel.sherrill@…>, on May 5, 2014 at 2:47:30 PM

testsuites: Remove BSP_SMALL_MEMORY

  • Property mode set to 100644
File size: 2.1 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.org/license/LICENSE.
12 */
13
14#include <rtems.h>
15#include <rtems/test.h>
16#include "tmacros.h"
17
18/* functions */
19
20rtems_task Init(
21  rtems_task_argument argument
22);
23
24/* global variables */
25
26
27/* configuration information */
28
29#include <bsp.h> /* for device driver prototypes */
30
31#define FILEIO_BUILD 1
32
33#if defined(RTEMS_BSP_HAS_IDE_DRIVER)
34#include <libchip/ata.h> /* for ata driver prototype */
35#include <libchip/ide_ctrl.h> /* for general ide driver prototype */
36#endif
37
38#define CONFIGURE_MAXIMUM_DRIVERS           4
39#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
40#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
41#ifdef RTEMS_BSP_HAS_IDE_DRIVER
42#define CONFIGURE_APPLICATION_NEEDS_IDE_DRIVER
43#define CONFIGURE_APPLICATION_NEEDS_ATA_DRIVER
44#define CONFIGURE_ATA_DRIVER_TASK_PRIORITY  14
45#endif
46
47#define CONFIGURE_MAXIMUM_POSIX_KEYS             1
48#define CONFIGURE_MAXIMUM_POSIX_KEY_VALUE_PAIRS  2
49
50#if FILEIO_BUILD
51  #define CONFIGURE_APPLICATION_NEEDS_LIBBLOCK
52  #define CONFIGURE_BDBUF_MAX_READ_AHEAD_BLOCKS  2
53  #define CONFIGURE_BDBUF_MAX_WRITE_BLOCKS       8
54  #define CONFIGURE_SWAPOUT_TASK_PRIORITY        15
55  #define CONFIGURE_FILESYSTEM_RFS
56  #define CONFIGURE_FILESYSTEM_DOSFS
57#endif
58
59#define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM
60
61/*
62 * XXX: these values are higher than needed...
63 */
64#define CONFIGURE_MAXIMUM_TASKS             20
65#define CONFIGURE_MAXIMUM_SEMAPHORES        20
66#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES    20
67#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 20
68#define CONFIGURE_STACK_CHECKER_ENABLED
69#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
70
71#define CONFIGURE_EXTRA_TASK_STACKS         (6 * RTEMS_MINIMUM_STACK_SIZE)
72
73#define CONFIGURE_MALLOC_STATISTICS
74
75#define CONFIGURE_UNIFIED_WORK_AREAS
76
77#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
78
79#include <rtems/confdefs.h>
80
81/* end of include file */
Note: See TracBrowser for help on using the repository browser.