[PATCH 0/4] Ensure the stack alignment requirement

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Mar 3 08:40:18 UTC 2021


This patch set addresses issues with the stack alignment for CPU ports
with CPU_STACK_ALIGNMENT > CPU_HEAP_ALIGNMENT.

Sebastian Huber (4):
  score: Enforce CPU_STACK_ALIGNMENT requirements
  rtems: Fix RTEMS_TASK_STORAGE_ALIGNMENT
  CONFIGURE_MAXIMUM_THREAD_LOCAL_STORAGE_SIZE
  score: Ensure stack alignment requirement

 cpukit/doxygen/appl-config.h                  | 14 +++++++--
 cpukit/include/rtems/confdefs/threads.h       |  8 ++++-
 cpukit/include/rtems/rtems/tasks.h            |  2 +-
 cpukit/include/rtems/score/context.h          |  3 +-
 cpukit/include/rtems/score/stackimpl.h        |  9 ++++++
 .../score/cpu/bfin/include/rtems/score/cpu.h  | 13 --------
 .../score/cpu/lm32/include/rtems/score/cpu.h  | 10 -------
 .../score/cpu/m68k/include/rtems/score/cpu.h  |  2 +-
 .../score/cpu/mips/include/rtems/score/cpu.h  |  9 ------
 .../score/cpu/moxie/include/rtems/score/cpu.h | 14 +--------
 .../cpu/no_cpu/include/rtems/score/cpu.h      |  9 +++---
 .../score/cpu/or1k/include/rtems/score/cpu.h  | 12 +-------
 .../cpu/powerpc/include/rtems/score/cpu.h     |  9 ------
 cpukit/score/cpu/sh/include/rtems/score/cpu.h |  9 ------
 .../cpu/sparc64/include/rtems/score/cpu.h     |  7 -----
 .../score/cpu/v850/include/rtems/score/cpu.h  | 12 +-------
 cpukit/score/src/percpuasm.c                  | 30 +++++++++----------
 cpukit/score/src/threadinitialize.c           |  9 ++++++
 cpukit/score/src/tlsallocsize.c               | 14 +++++++--
 19 files changed, 71 insertions(+), 124 deletions(-)

-- 
2.26.2



More information about the devel mailing list