44 #ifndef _RTEMS_CONFDEFS_BDBUF_H 45 #define _RTEMS_CONFDEFS_BDBUF_H 47 #ifndef __CONFIGURATION_TEMPLATE_h 48 #error "Do not include this file directly, use <rtems/confdefs.h> instead" 53 #ifdef CONFIGURE_APPLICATION_NEEDS_LIBBLOCK 58 #ifndef CONFIGURE_BDBUF_MAX_READ_AHEAD_BLOCKS 59 #define CONFIGURE_BDBUF_MAX_READ_AHEAD_BLOCKS \ 60 RTEMS_BDBUF_MAX_READ_AHEAD_BLOCKS_DEFAULT 63 #ifndef CONFIGURE_BDBUF_MAX_WRITE_BLOCKS 64 #define CONFIGURE_BDBUF_MAX_WRITE_BLOCKS \ 65 RTEMS_BDBUF_MAX_WRITE_BLOCKS_DEFAULT 68 #ifndef CONFIGURE_SWAPOUT_TASK_PRIORITY 69 #define CONFIGURE_SWAPOUT_TASK_PRIORITY \ 70 RTEMS_BDBUF_SWAPOUT_TASK_PRIORITY_DEFAULT 73 #ifndef CONFIGURE_SWAPOUT_SWAP_PERIOD 74 #define CONFIGURE_SWAPOUT_SWAP_PERIOD \ 75 RTEMS_BDBUF_SWAPOUT_TASK_SWAP_PERIOD_DEFAULT 78 #ifndef CONFIGURE_SWAPOUT_BLOCK_HOLD 79 #define CONFIGURE_SWAPOUT_BLOCK_HOLD \ 80 RTEMS_BDBUF_SWAPOUT_TASK_BLOCK_HOLD_DEFAULT 83 #ifndef CONFIGURE_SWAPOUT_WORKER_TASKS 84 #define CONFIGURE_SWAPOUT_WORKER_TASKS \ 85 RTEMS_BDBUF_SWAPOUT_WORKER_TASKS_DEFAULT 88 #ifndef CONFIGURE_SWAPOUT_WORKER_TASK_PRIORITY 89 #define CONFIGURE_SWAPOUT_WORKER_TASK_PRIORITY \ 90 RTEMS_BDBUF_SWAPOUT_WORKER_TASK_PRIORITY_DEFAULT 93 #ifndef CONFIGURE_BDBUF_TASK_STACK_SIZE 94 #define CONFIGURE_BDBUF_TASK_STACK_SIZE \ 95 RTEMS_BDBUF_TASK_STACK_SIZE_DEFAULT 98 #ifndef CONFIGURE_BDBUF_CACHE_MEMORY_SIZE 99 #define CONFIGURE_BDBUF_CACHE_MEMORY_SIZE \ 100 RTEMS_BDBUF_CACHE_MEMORY_SIZE_DEFAULT 103 #ifndef CONFIGURE_BDBUF_BUFFER_MIN_SIZE 104 #define CONFIGURE_BDBUF_BUFFER_MIN_SIZE \ 105 RTEMS_BDBUF_BUFFER_MIN_SIZE_DEFAULT 108 #ifndef CONFIGURE_BDBUF_BUFFER_MAX_SIZE 109 #define CONFIGURE_BDBUF_BUFFER_MAX_SIZE \ 110 RTEMS_BDBUF_BUFFER_MAX_SIZE_DEFAULT 113 #ifndef CONFIGURE_BDBUF_READ_AHEAD_TASK_PRIORITY 114 #define CONFIGURE_BDBUF_READ_AHEAD_TASK_PRIORITY \ 115 RTEMS_BDBUF_READ_AHEAD_TASK_PRIORITY_DEFAULT 118 #define _CONFIGURE_LIBBLOCK_TASKS \ 119 ( 1 + CONFIGURE_SWAPOUT_WORKER_TASKS \ 120 + ( CONFIGURE_BDBUF_MAX_READ_AHEAD_BLOCKS != 0 ) ) 122 #define _CONFIGURE_LIBBLOCK_TASKS_STACK_EXTRA \ 123 ( _CONFIGURE_LIBBLOCK_TASKS \ 124 * ( CONFIGURE_BDBUF_TASK_STACK_SIZE <= CONFIGURE_MINIMUM_TASK_STACK_SIZE ? \ 126 CONFIGURE_BDBUF_TASK_STACK_SIZE - CONFIGURE_MINIMUM_TASK_STACK_SIZE ) ) 133 CONFIGURE_BDBUF_MAX_READ_AHEAD_BLOCKS,
134 CONFIGURE_BDBUF_MAX_WRITE_BLOCKS,
135 CONFIGURE_SWAPOUT_TASK_PRIORITY,
136 CONFIGURE_SWAPOUT_SWAP_PERIOD,
137 CONFIGURE_SWAPOUT_BLOCK_HOLD,
138 CONFIGURE_SWAPOUT_WORKER_TASKS,
139 CONFIGURE_SWAPOUT_WORKER_TASK_PRIORITY,
140 CONFIGURE_BDBUF_TASK_STACK_SIZE,
141 CONFIGURE_BDBUF_CACHE_MEMORY_SIZE,
142 CONFIGURE_BDBUF_BUFFER_MIN_SIZE,
143 CONFIGURE_BDBUF_BUFFER_MAX_SIZE,
144 CONFIGURE_BDBUF_READ_AHEAD_TASK_PRIORITY
153 #define _CONFIGURE_LIBBLOCK_TASKS 0 155 #define _CONFIGURE_LIBBLOCK_TASKS_STACK_EXTRA 0 Evaluate Per-CPU Configuration Options.
const rtems_bdbuf_config rtems_bdbuf_configuration
Block Device Buffer Management.