From 4a765b47a56cf9ba09c13381eb0cccd595e97cbd Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 3 Mar 2021 08:39:33 +0100 Subject: score: Enforce CPU_STACK_ALIGNMENT requirements Clarify CPU_STACK_ALIGNMENT requirements in no_cpu port. Add static assertion to enforce CPU_STACK_ALIGNMENT requirements. --- cpukit/score/cpu/sparc64/include/rtems/score/cpu.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'cpukit/score/cpu/sparc64') diff --git a/cpukit/score/cpu/sparc64/include/rtems/score/cpu.h b/cpukit/score/cpu/sparc64/include/rtems/score/cpu.h index 2701298733..e0f56b8e89 100644 --- a/cpukit/score/cpu/sparc64/include/rtems/score/cpu.h +++ b/cpukit/score/cpu/sparc64/include/rtems/score/cpu.h @@ -635,13 +635,6 @@ extern const CPU_Trap_table_entry _CPU_Trap_slot_template; #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 CPU_ALIGNMENT. If the 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 CPU_ALIGNMENT. - * * The alignment restrictions for the SPARC are not that strict but this * should unsure that the stack is always sufficiently alignment that the * window overflow, underflow, and flush routines can use double word loads -- cgit v1.2.3