diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-03-03 08:39:33 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-03-04 09:08:03 +0100 |
commit | 4a765b47a56cf9ba09c13381eb0cccd595e97cbd (patch) | |
tree | a41972abc8ee33b7d4b0e967f13d50282409fdd4 /cpukit/score/cpu/v850 | |
parent | MAINTAINERS: Add myself to write after approval (diff) | |
download | rtems-4a765b47a56cf9ba09c13381eb0cccd595e97cbd.tar.bz2 |
score: Enforce CPU_STACK_ALIGNMENT requirements
Clarify CPU_STACK_ALIGNMENT requirements in no_cpu port. Add static
assertion to enforce CPU_STACK_ALIGNMENT requirements.
Diffstat (limited to 'cpukit/score/cpu/v850')
-rw-r--r-- | cpukit/score/cpu/v850/include/rtems/score/cpu.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/cpukit/score/cpu/v850/include/rtems/score/cpu.h b/cpukit/score/cpu/v850/include/rtems/score/cpu.h index a648931fb9..1921216e2d 100644 --- a/cpukit/score/cpu/v850/include/rtems/score/cpu.h +++ b/cpukit/score/cpu/v850/include/rtems/score/cpu.h @@ -255,20 +255,10 @@ typedef struct { #define CPU_HEAP_ALIGNMENT CPU_ALIGNMENT /** - * This number corresponds to the byte alignment requirement for the - * stack. This alignment requirement may be stricter than that for the - * data types alignment specified by @ref CPU_ALIGNMENT. If the - * @ref CPU_ALIGNMENT is strict enough for the stack, then this should be - * set to 0. - * - * @note This must be a power of 2 either 0 or greater than @ref CPU_ALIGNMENT. - * - * Port Specific Information: - * * The v850 has enough RAM where alignment to 16 may be desirable depending * on the cache properties. But this remains to be demonstrated. */ -#define CPU_STACK_ALIGNMENT 4 +#define CPU_STACK_ALIGNMENT 8 #define CPU_INTERRUPT_STACK_ALIGNMENT CPU_CACHE_LINE_BYTES |