Changeset 9510742 in rtems


Ignore:
Timestamp:
Jun 27, 2018, 6:35:13 AM (11 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
a49a3c8e
Parents:
98f051e
git-author:
Sebastian Huber <sebastian.huber@…> (06/27/18 06:35:13)
git-committer:
Sebastian Huber <sebastian.huber@…> (06/29/18 08:04:36)
Message:

riscv: Fix CPU_STACK_ALIGNMENT

According to the RISC-V psABI

https://github.com/riscv/riscv-elf-psabi-doc/blob/master/riscv-elf.md

the stack alignment is 128 bits (16 bytes).

Update #3433.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/cpu/riscv/include/rtems/score/cpu.h

    r98f051e r9510742  
    108108#define CPU_HEAP_ALIGNMENT         CPU_ALIGNMENT
    109109#define CPU_PARTITION_ALIGNMENT    CPU_ALIGNMENT
    110 #define CPU_STACK_ALIGNMENT        8
     110
     111#define CPU_STACK_ALIGNMENT 16
    111112
    112113#define CPU_INTERRUPT_STACK_ALIGNMENT CPU_CACHE_LINE_BYTES
Note: See TracChangeset for help on using the changeset viewer.