45#ifndef _RTEMS_CONFDEFS_BDBUF_H
46#define _RTEMS_CONFDEFS_BDBUF_H
48#ifndef __CONFIGURATION_TEMPLATE_h
49#error "Do not include this file directly, use <rtems/confdefs.h> instead"
54#ifdef CONFIGURE_APPLICATION_NEEDS_LIBBLOCK
59#ifndef CONFIGURE_BDBUF_MAX_READ_AHEAD_BLOCKS
60 #define CONFIGURE_BDBUF_MAX_READ_AHEAD_BLOCKS \
61 RTEMS_BDBUF_MAX_READ_AHEAD_BLOCKS_DEFAULT
64#ifndef CONFIGURE_BDBUF_MAX_WRITE_BLOCKS
65 #define CONFIGURE_BDBUF_MAX_WRITE_BLOCKS \
66 RTEMS_BDBUF_MAX_WRITE_BLOCKS_DEFAULT
69#ifndef CONFIGURE_SWAPOUT_TASK_PRIORITY
70 #define CONFIGURE_SWAPOUT_TASK_PRIORITY \
71 RTEMS_BDBUF_SWAPOUT_TASK_PRIORITY_DEFAULT
74#ifndef CONFIGURE_SWAPOUT_SWAP_PERIOD
75 #define CONFIGURE_SWAPOUT_SWAP_PERIOD \
76 RTEMS_BDBUF_SWAPOUT_TASK_SWAP_PERIOD_DEFAULT
79#ifndef CONFIGURE_SWAPOUT_BLOCK_HOLD
80 #define CONFIGURE_SWAPOUT_BLOCK_HOLD \
81 RTEMS_BDBUF_SWAPOUT_TASK_BLOCK_HOLD_DEFAULT
84#ifndef CONFIGURE_SWAPOUT_WORKER_TASKS
85 #define CONFIGURE_SWAPOUT_WORKER_TASKS \
86 RTEMS_BDBUF_SWAPOUT_WORKER_TASKS_DEFAULT
89#ifndef CONFIGURE_SWAPOUT_WORKER_TASK_PRIORITY
90 #define CONFIGURE_SWAPOUT_WORKER_TASK_PRIORITY \
91 RTEMS_BDBUF_SWAPOUT_WORKER_TASK_PRIORITY_DEFAULT
94#ifndef CONFIGURE_BDBUF_TASK_STACK_SIZE
95 #define CONFIGURE_BDBUF_TASK_STACK_SIZE \
96 RTEMS_BDBUF_TASK_STACK_SIZE_DEFAULT
99#ifndef CONFIGURE_BDBUF_CACHE_MEMORY_SIZE
100 #define CONFIGURE_BDBUF_CACHE_MEMORY_SIZE \
101 RTEMS_BDBUF_CACHE_MEMORY_SIZE_DEFAULT
104#ifndef CONFIGURE_BDBUF_BUFFER_MIN_SIZE
105 #define CONFIGURE_BDBUF_BUFFER_MIN_SIZE \
106 RTEMS_BDBUF_BUFFER_MIN_SIZE_DEFAULT
109#ifndef CONFIGURE_BDBUF_BUFFER_MAX_SIZE
110 #define CONFIGURE_BDBUF_BUFFER_MAX_SIZE \
111 RTEMS_BDBUF_BUFFER_MAX_SIZE_DEFAULT
114#ifndef CONFIGURE_BDBUF_READ_AHEAD_TASK_PRIORITY
115 #define CONFIGURE_BDBUF_READ_AHEAD_TASK_PRIORITY \
116 RTEMS_BDBUF_READ_AHEAD_TASK_PRIORITY_DEFAULT
119#define _CONFIGURE_LIBBLOCK_TASKS \
120 ( 1 + CONFIGURE_SWAPOUT_WORKER_TASKS \
121 + ( CONFIGURE_BDBUF_MAX_READ_AHEAD_BLOCKS != 0 ) )
123#define _CONFIGURE_LIBBLOCK_TASKS_STACK_EXTRA \
124 ( _CONFIGURE_LIBBLOCK_TASKS \
125 * ( CONFIGURE_BDBUF_TASK_STACK_SIZE <= CONFIGURE_MINIMUM_TASK_STACK_SIZE ? \
127 CONFIGURE_BDBUF_TASK_STACK_SIZE - CONFIGURE_MINIMUM_TASK_STACK_SIZE ) )
154#define _CONFIGURE_LIBBLOCK_TASKS 0
156#define _CONFIGURE_LIBBLOCK_TASKS_STACK_EXTRA 0
Block Device Buffer Management.
This header file evaluates configuration options related to the per-CPU configuration.
#define CONFIGURE_BDBUF_READ_AHEAD_TASK_PRIORITY
This configuration option is an integer define.
Definition: appl-config.h:248
#define CONFIGURE_SWAPOUT_SWAP_PERIOD
This configuration option is an integer define.
Definition: appl-config.h:332
#define CONFIGURE_SWAPOUT_WORKER_TASK_PRIORITY
This configuration option is an integer define.
Definition: appl-config.h:397
#define CONFIGURE_BDBUF_TASK_STACK_SIZE
This configuration option is an integer define.
Definition: appl-config.h:280
#define CONFIGURE_BDBUF_CACHE_MEMORY_SIZE
This configuration option is an integer define.
Definition: appl-config.h:172
#define CONFIGURE_BDBUF_MAX_READ_AHEAD_BLOCKS
This configuration option is an integer define.
Definition: appl-config.h:203
#define CONFIGURE_SWAPOUT_BLOCK_HOLD
This configuration option is an integer define.
Definition: appl-config.h:306
#define CONFIGURE_BDBUF_BUFFER_MAX_SIZE
This configuration option is an integer define.
Definition: appl-config.h:120
#define CONFIGURE_SWAPOUT_WORKER_TASKS
This configuration option is an integer define.
Definition: appl-config.h:377
#define CONFIGURE_SWAPOUT_TASK_PRIORITY
This configuration option is an integer define.
Definition: appl-config.h:351
#define CONFIGURE_BDBUF_BUFFER_MIN_SIZE
This configuration option is an integer define.
Definition: appl-config.h:146
#define CONFIGURE_BDBUF_MAX_WRITE_BLOCKS
This configuration option is an integer define.
Definition: appl-config.h:229
const rtems_bdbuf_config rtems_bdbuf_configuration