source: rtems/testsuites/samples/fileio/system.h @ 9de8d61

Last change on this file since 9de8d61 was 9de8d61, checked in by Sebastian Huber <sebastian.huber@…>, on 07/17/20 at 11:36:49

libtest: <rtems/test.h> to <rtems/test-info.h>

Rename this header file to later move <t.h> to <rtems/test.h>. The main
feature provided by <rtems/test-info.h> is the output of standard test
information which is consumed by the RTEMS Tester.

Update #3199.

  • 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.org/license/LICENSE.
12 */
13
14#include <rtems.h>
15#include <rtems/test-info.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_APPLICATION_NEEDS_CONSOLE_DRIVER
39#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
40#ifdef RTEMS_BSP_HAS_IDE_DRIVER
41#define CONFIGURE_APPLICATION_NEEDS_IDE_DRIVER
42#define CONFIGURE_APPLICATION_NEEDS_ATA_DRIVER
43#define CONFIGURE_ATA_DRIVER_TASK_PRIORITY  14
44#endif
45
46#if FILEIO_BUILD
47  #define CONFIGURE_APPLICATION_NEEDS_LIBBLOCK
48  #define CONFIGURE_BDBUF_MAX_READ_AHEAD_BLOCKS  2
49  #define CONFIGURE_BDBUF_MAX_WRITE_BLOCKS       8
50  #define CONFIGURE_SWAPOUT_TASK_PRIORITY        15
51  #define CONFIGURE_FILESYSTEM_RFS
52  #define CONFIGURE_FILESYSTEM_DOSFS
53#endif
54
55/*
56 * XXX: these values are higher than needed...
57 */
58#define CONFIGURE_MAXIMUM_FILE_DESCRIPTORS 20
59#define CONFIGURE_STACK_CHECKER_ENABLED
60#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
61
62#define CONFIGURE_UNIFIED_WORK_AREAS
63#define CONFIGURE_UNLIMITED_OBJECTS
64
65#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
66
67#include <rtems/confdefs.h>
68
69/* end of include file */
Note: See TracBrowser for help on using the repository browser.