[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 |
---|
[3e26377b] | 11 | * http://www.rtems.com/license/LICENSE. |
---|
[ac0a2af] | 12 | */ |
---|
| 13 | |
---|
| 14 | #include <rtems.h> |
---|
[7c1e6942] | 15 | #include "tmacros.h" |
---|
[ac0a2af] | 16 | |
---|
| 17 | /* functions */ |
---|
| 18 | |
---|
| 19 | rtems_task Init( |
---|
| 20 | rtems_task_argument argument |
---|
| 21 | ); |
---|
| 22 | |
---|
| 23 | /* global variables */ |
---|
| 24 | |
---|
| 25 | |
---|
| 26 | /* configuration information */ |
---|
| 27 | |
---|
| 28 | #include <bsp.h> /* for device driver prototypes */ |
---|
[c0ec0d82] | 29 | |
---|
| 30 | #define FILEIO_BUILD 1 |
---|
| 31 | #if BSP_SMALL_MEMORY |
---|
| 32 | #undef FILEIO_BUILD |
---|
| 33 | #endif |
---|
| 34 | |
---|
| 35 | #if defined(RTEMS_BSP_HAS_IDE_DRIVER) && !BSP_SMALL_MEMORY |
---|
[ac0a2af] | 36 | #include <libchip/ata.h> /* for ata driver prototype */ |
---|
| 37 | #include <libchip/ide_ctrl.h> /* for general ide driver prototype */ |
---|
[e8f5da0] | 38 | #endif |
---|
[ac0a2af] | 39 | |
---|
[7032a458] | 40 | #define CONFIGURE_MAXIMUM_DRIVERS 4 |
---|
[ac0a2af] | 41 | #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER |
---|
| 42 | #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER |
---|
[e8f5da0] | 43 | #ifdef RTEMS_BSP_HAS_IDE_DRIVER |
---|
[c9b005a9] | 44 | #define CONFIGURE_APPLICATION_NEEDS_IDE_DRIVER |
---|
[7032a458] | 45 | #define CONFIGURE_APPLICATION_NEEDS_ATA_DRIVER |
---|
| 46 | #define CONFIGURE_ATA_DRIVER_TASK_PRIORITY 14 |
---|
[e8f5da0] | 47 | #endif |
---|
[c9b005a9] | 48 | #define CONFIGURE_APPLICATION_NEEDS_LIBBLOCK |
---|
[7032a458] | 49 | #define CONFIGURE_BDBUF_MAX_READ_AHEAD_BLOCKS 2 |
---|
| 50 | #define CONFIGURE_BDBUF_MAX_WRITE_BLOCKS 8 |
---|
| 51 | #define CONFIGURE_SWAPOUT_TASK_PRIORITY 15 |
---|
[ac0a2af] | 52 | #define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM |
---|
[7032a458] | 53 | #define CONFIGURE_FILESYSTEM_RFS |
---|
| 54 | #define CONFIGURE_FILESYSTEM_DOSFS |
---|
[ac0a2af] | 55 | |
---|
| 56 | /* |
---|
| 57 | * XXX: these values are higher than needed... |
---|
| 58 | */ |
---|
| 59 | #define CONFIGURE_MAXIMUM_TASKS 20 |
---|
| 60 | #define CONFIGURE_MAXIMUM_SEMAPHORES 20 |
---|
| 61 | #define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 20 |
---|
| 62 | #define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 20 |
---|
[fd6092a] | 63 | #define CONFIGURE_STACK_CHECKER_ENABLED |
---|
[ac0a2af] | 64 | #define CONFIGURE_RTEMS_INIT_TASKS_TABLE |
---|
| 65 | |
---|
[0e263c91] | 66 | #define CONFIGURE_EXTRA_TASK_STACKS (6 * RTEMS_MINIMUM_STACK_SIZE) |
---|
[ac0a2af] | 67 | |
---|
[aec29f1] | 68 | #define CONFIGURE_MALLOC_STATISTICS |
---|
| 69 | |
---|
[efc6c73] | 70 | #define CONFIGURE_UNIFIED_WORK_AREAS |
---|
[c8fea7a] | 71 | #include <rtems/confdefs.h> |
---|
[ac0a2af] | 72 | |
---|
| 73 | /* end of include file */ |
---|