diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-01-23 15:04:44 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-01-24 08:39:22 +0100 |
commit | 3d20f5fbb7602ec7e27859f6c3ee97708e826bc8 (patch) | |
tree | 98ffe867f78adc2d2e5b6a04fd51b29722d693e4 | |
parent | Remove CPU_BIG_ENDIAN and CPU_LITTLE_ENDIAN (diff) | |
download | rtems-3d20f5fbb7602ec7e27859f6c3ee97708e826bc8.tar.bz2 |
sparc: Relax CPU_STACK_ALIGNMENT
Close #2352.
-rw-r--r-- | cpukit/score/cpu/sparc/rtems/score/cpu.h | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/cpukit/score/cpu/sparc/rtems/score/cpu.h b/cpukit/score/cpu/sparc/rtems/score/cpu.h index 6d8e1f9e80..a59fc36e7d 100644 --- a/cpukit/score/cpu/sparc/rtems/score/cpu.h +++ b/cpukit/score/cpu/sparc/rtems/score/cpu.h @@ -826,19 +826,10 @@ extern const CPU_Trap_table_entry _CPU_Trap_slot_template; #define CPU_PARTITION_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 - * and stores. + * Stack frames must be doubleword aligned according to the System V ABI for + * SPARC. */ -#define CPU_STACK_ALIGNMENT 16 +#define CPU_STACK_ALIGNMENT CPU_ALIGNMENT #ifndef ASM |