Removed idle working area from the 'ch' structure because alignment constraints.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8949 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
c2a407c4d5
commit
e628eeb852
|
@ -490,12 +490,6 @@ struct ch_system {
|
|||
*/
|
||||
kernel_stats_t kernel_stats;
|
||||
#endif
|
||||
#if CH_CFG_NO_IDLE_THREAD == FALSE
|
||||
/**
|
||||
* @brief Idle thread working area.
|
||||
*/
|
||||
THD_WORKING_AREA(idle_thread_wa, PORT_IDLE_THREAD_STACK_SIZE);
|
||||
#endif
|
||||
};
|
||||
|
||||
/*===========================================================================*/
|
||||
|
|
|
@ -39,6 +39,13 @@
|
|||
/* Module exported variables. */
|
||||
/*===========================================================================*/
|
||||
|
||||
#if (CH_CFG_NO_IDLE_THREAD == FALSE) || defined(__DOXYGEN__)
|
||||
/**
|
||||
* @brief Idle thread working area.
|
||||
*/
|
||||
THD_WORKING_AREA(ch_idle_thread_wa, PORT_IDLE_THREAD_STACK_SIZE);
|
||||
#endif
|
||||
|
||||
/*===========================================================================*/
|
||||
/* Module local types. */
|
||||
/*===========================================================================*/
|
||||
|
@ -152,8 +159,8 @@ void chSysInit(void) {
|
|||
{
|
||||
static const thread_descriptor_t idle_descriptor = {
|
||||
"idle",
|
||||
THD_WORKING_AREA_BASE(ch.idle_thread_wa),
|
||||
THD_WORKING_AREA_END(ch.idle_thread_wa),
|
||||
THD_WORKING_AREA_BASE(ch_idle_thread_wa),
|
||||
THD_WORKING_AREA_END(ch_idle_thread_wa),
|
||||
IDLEPRIO,
|
||||
_idle_thread,
|
||||
NULL
|
||||
|
|
Loading…
Reference in New Issue