#ifndef CONFIG_TCBSIZE_H
#define CONFIG_TCBSIZE_H

#include <globalconfig.h>
#if defined CONFIG_CONTEXT_8K
# define THREAD_BLOCK_SIZE (0x2000)
#elif defined CONFIG_CONTEXT_4K
# define THREAD_BLOCK_SIZE (0x1000)
#elif defined CONFIG_CONTEXT_2K
# define THREAD_BLOCK_SIZE (0x800)
#else
# error "Which context size?"
#endif

#endif
