Remove building with NOCRYPTO option
[minix.git] / minix / lib / libblockdriver / const.h
blob4bba78001f1f26b1975e618c82122aedf7366fd3
1 #ifndef _BLOCKDRIVER_CONST_H
2 #define _BLOCKDRIVER_CONST_H
4 /* Thread stack size. */
5 #ifdef _MINIX_MAGIC
6 #define STACK_SIZE 32768
7 #else
8 #define STACK_SIZE 8192
9 #endif
11 /* Maximum number of devices supported. */
12 #define MAX_DEVICES BLOCKDRIVER_MAX_DEVICES
14 /* The maximum number of worker threads per device. */
15 #define MAX_WORKERS 32
17 #define MAX_THREADS (MAX_DEVICES * MAX_WORKERS) /* max nr of threads */
18 #define MAIN_THREAD (MAX_THREADS) /* main thread ID */
19 #define SINGLE_THREAD (0) /* single-thread ID */
21 #endif /* _BLOCKDRIVER_CONST_H */