mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-24 06:07:23 +08:00
rtems: Fix RTEMS_TASK_STORAGE_ALIGNMENT
Make sure we meet the stack alignment requirement for user-provided thread storage areas.
This commit is contained in:
@@ -201,7 +201,7 @@ rtems_status_code rtems_task_create(
|
||||
* Use it with RTEMS_ALIGNED() to define the alignment of a statically
|
||||
* allocated task storage area.
|
||||
*/
|
||||
#define RTEMS_TASK_STORAGE_ALIGNMENT CPU_HEAP_ALIGNMENT
|
||||
#define RTEMS_TASK_STORAGE_ALIGNMENT CPU_STACK_ALIGNMENT
|
||||
|
||||
/**
|
||||
* @brief Returns the recommended task storage area size for the specified size
|
||||
|
||||
Reference in New Issue
Block a user