summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/x86_64/include/rtems/score/cpu.h
diff options
context:
space:
mode:
authorKarel Gardas <karel@functional.vision>2023-04-16 23:04:54 +0200
committerKarel Gardas <karel@functional.vision>2023-04-29 20:41:23 +0200
commit1590df5f9ac5f37330a72a04f9ef77672a294991 (patch)
tree18a2e492338506290a05fb7257a02f4532eadf8c /cpukit/score/cpu/x86_64/include/rtems/score/cpu.h
parentbsps/shared: import FreeBSD libefi library (diff)
downloadrtems-1590df5f9ac5f37330a72a04f9ef77672a294991.tar.bz2
bsps/amd64: increase CPU alignment to 16
AMD64 requires SSE support which operates on 128bit data values.
Diffstat (limited to 'cpukit/score/cpu/x86_64/include/rtems/score/cpu.h')
-rw-r--r--cpukit/score/cpu/x86_64/include/rtems/score/cpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/cpu/x86_64/include/rtems/score/cpu.h b/cpukit/score/cpu/x86_64/include/rtems/score/cpu.h
index 2671c607a7..b26fb4c8ad 100644
--- a/cpukit/score/cpu/x86_64/include/rtems/score/cpu.h
+++ b/cpukit/score/cpu/x86_64/include/rtems/score/cpu.h
@@ -144,7 +144,7 @@ typedef struct {
#define CPU_PROVIDES_ISR_IS_IN_PROGRESS FALSE
#define CPU_STACK_MINIMUM_SIZE (1024*4)
#define CPU_SIZEOF_POINTER 8
-#define CPU_ALIGNMENT 8
+#define CPU_ALIGNMENT 16
#define CPU_HEAP_ALIGNMENT CPU_ALIGNMENT
#define CPU_STACK_ALIGNMENT 16
#define CPU_INTERRUPT_STACK_ALIGNMENT CPU_CACHE_LINE_BYTES