source: rtems/testsuites/samples/fileio/system.h @ 1a6093d

4.115
Last change on this file since 1a6093d was 1a6093d, checked in by Sebastian Huber <sebastian.huber@…>, on 04/03/14 at 10:52:33

samples/fileio: Fix configuration

  • Property mode set to 100644
File size: 2.2 KB
RevLine 
[ac0a2af]1/*  system.h
2 *
3 *  This include file contains information that is included in every
4 *  function in the test set.
5 *
[efc6c73]6 *  COPYRIGHT (c) 1989-2009.
[ac0a2af]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
[c499856]11 *  http://www.rtems.org/license/LICENSE.
[ac0a2af]12 */
13
14#include <rtems.h>
[9391f6d]15#include <rtems/test.h>
[7c1e6942]16#include "tmacros.h"
[ac0a2af]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 */
[c0ec0d82]30
31#define FILEIO_BUILD 1
32#if BSP_SMALL_MEMORY
33#undef FILEIO_BUILD
34#endif
35
36#if defined(RTEMS_BSP_HAS_IDE_DRIVER) && !BSP_SMALL_MEMORY
[ac0a2af]37#include <libchip/ata.h> /* for ata driver prototype */
38#include <libchip/ide_ctrl.h> /* for general ide driver prototype */
[e8f5da0]39#endif
[ac0a2af]40
[7032a458]41#define CONFIGURE_MAXIMUM_DRIVERS           4
[ac0a2af]42#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
43#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
[e8f5da0]44#ifdef RTEMS_BSP_HAS_IDE_DRIVER
[c9b005a9]45#define CONFIGURE_APPLICATION_NEEDS_IDE_DRIVER
[7032a458]46#define CONFIGURE_APPLICATION_NEEDS_ATA_DRIVER
47#define CONFIGURE_ATA_DRIVER_TASK_PRIORITY  14
[e8f5da0]48#endif
[b5b1f44]49
[6cd4a5c]50#define CONFIGURE_MAXIMUM_POSIX_KEYS             1
[1a6093d]51#define CONFIGURE_MAXIMUM_POSIX_KEY_VALUE_PAIRS  2
[6cd4a5c]52
[b5b1f44]53#if FILEIO_BUILD
54  #define CONFIGURE_APPLICATION_NEEDS_LIBBLOCK
55  #define CONFIGURE_BDBUF_MAX_READ_AHEAD_BLOCKS  2
56  #define CONFIGURE_BDBUF_MAX_WRITE_BLOCKS       8
57  #define CONFIGURE_SWAPOUT_TASK_PRIORITY        15
58  #define CONFIGURE_FILESYSTEM_RFS
59  #define CONFIGURE_FILESYSTEM_DOSFS
60#endif
61
[ac0a2af]62#define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM
63
64/*
65 * XXX: these values are higher than needed...
66 */
67#define CONFIGURE_MAXIMUM_TASKS             20
68#define CONFIGURE_MAXIMUM_SEMAPHORES        20
69#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES    20
70#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 20
[fd6092a]71#define CONFIGURE_STACK_CHECKER_ENABLED
[ac0a2af]72#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
73
[0e263c91]74#define CONFIGURE_EXTRA_TASK_STACKS         (6 * RTEMS_MINIMUM_STACK_SIZE)
[ac0a2af]75
[aec29f1]76#define CONFIGURE_MALLOC_STATISTICS
77
[efc6c73]78#define CONFIGURE_UNIFIED_WORK_AREAS
[9391f6d]79
80#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
81
[c8fea7a]82#include <rtems/confdefs.h>
[ac0a2af]83
84/* end of include file */
Note: See TracBrowser for help on using the repository browser.