git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6086 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
ec7cf10fcd
commit
b5349cc22d
|
@ -52,7 +52,7 @@
|
||||||
/**
|
/**
|
||||||
* @brief Idle thread working area.
|
* @brief Idle thread working area.
|
||||||
*/
|
*/
|
||||||
static WORKING_AREA(_idle_thread_wa, PORT_IDLE_THREAD_STACK_SIZE);
|
static WORKING_AREA(_idle_thread_wa, CH_PORT_IDLE_THREAD_STACK_SIZE);
|
||||||
#endif /* CH_CFG_NO_IDLE_THREAD */
|
#endif /* CH_CFG_NO_IDLE_THREAD */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -96,8 +96,8 @@
|
||||||
* a stack frame when compiling without optimizations. You may
|
* a stack frame when compiling without optimizations. You may
|
||||||
* reduce this value to zero when compiling with optimizations.
|
* reduce this value to zero when compiling with optimizations.
|
||||||
*/
|
*/
|
||||||
#if !defined(PORT_IDLE_THREAD_STACK_SIZE)
|
#if !defined(CH_PORT_IDLE_THREAD_STACK_SIZE) || defined(__DOXYGEN__)
|
||||||
#define PORT_IDLE_THREAD_STACK_SIZE 16
|
#define CH_PORT_IDLE_THREAD_STACK_SIZE 16
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -109,8 +109,8 @@
|
||||||
* with compiler optimizations disabled. The value can be reduced
|
* with compiler optimizations disabled. The value can be reduced
|
||||||
* when compiler optimizations are enabled.
|
* when compiler optimizations are enabled.
|
||||||
*/
|
*/
|
||||||
#if !defined(PORT_INT_REQUIRED_STACK)
|
#if !defined(CH_PORT_INT_REQUIRED_STACK) || defined(__DOXYGEN__)
|
||||||
#define PORT_INT_REQUIRED_STACK 32
|
#define CH_PORT_INT_REQUIRED_STACK 32
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -330,7 +330,7 @@ struct context {
|
||||||
#define THD_WA_SIZE(n) STACK_ALIGN(sizeof(thread_t) + \
|
#define THD_WA_SIZE(n) STACK_ALIGN(sizeof(thread_t) + \
|
||||||
sizeof(struct intctx) + \
|
sizeof(struct intctx) + \
|
||||||
sizeof(struct extctx) + \
|
sizeof(struct extctx) + \
|
||||||
(n) + (PORT_INT_REQUIRED_STACK))
|
(n) + (CH_PORT_INT_REQUIRED_STACK))
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Static working area allocation.
|
* @brief Static working area allocation.
|
||||||
|
|
|
@ -637,10 +637,10 @@ static void bmk13_execute(void) {
|
||||||
|
|
||||||
test_print("--- System: ");
|
test_print("--- System: ");
|
||||||
test_printn(sizeof(ready_list_t) + sizeof(virtual_timers_list_t) +
|
test_printn(sizeof(ready_list_t) + sizeof(virtual_timers_list_t) +
|
||||||
PORT_IDLE_THREAD_STACK_SIZE +
|
CH_PORT_IDLE_THREAD_STACK_SIZE +
|
||||||
(sizeof(thread_t) + sizeof(struct intctx) +
|
(sizeof(thread_t) + sizeof(struct intctx) +
|
||||||
sizeof(struct extctx) +
|
sizeof(struct extctx) +
|
||||||
PORT_INT_REQUIRED_STACK) * 2);
|
CH_PORT_INT_REQUIRED_STACK) * 2);
|
||||||
test_println(" bytes");
|
test_println(" bytes");
|
||||||
test_print("--- Thread: ");
|
test_print("--- Thread: ");
|
||||||
test_printn(sizeof(thread_t));
|
test_printn(sizeof(thread_t));
|
||||||
|
|
Loading…
Reference in New Issue