diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-06-19 14:59:51 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-06-27 08:58:16 +0200 |
commit | c8df844cf3bddde0221614843c97cb6c950cdba9 (patch) | |
tree | 67101cb39d5bdd406f785d33629703e5a876ed75 /cpukit/score/cpu/moxie/include/rtems/score/cpu.h | |
parent | 196ce1859a0d2b41f33c6a2ff5b7523a96a6aabc (diff) |
score: Add CPU_INTERRUPT_STACK_ALIGNMENT
Add CPU port define for the interrupt stack alignment. The alignment
should take the stack ABI and the cache line size into account.
Update #3459.
Diffstat (limited to 'cpukit/score/cpu/moxie/include/rtems/score/cpu.h')
-rw-r--r-- | cpukit/score/cpu/moxie/include/rtems/score/cpu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpukit/score/cpu/moxie/include/rtems/score/cpu.h b/cpukit/score/cpu/moxie/include/rtems/score/cpu.h index 403b05f9fb..9b6dbecc9c 100644 --- a/cpukit/score/cpu/moxie/include/rtems/score/cpu.h +++ b/cpukit/score/cpu/moxie/include/rtems/score/cpu.h @@ -465,6 +465,8 @@ typedef struct { */ #define CPU_STACK_ALIGNMENT 0 +#define CPU_INTERRUPT_STACK_ALIGNMENT CPU_CACHE_LINE_BYTES + /* * ISR handler macros */ |