From 97f46a80706850605f184aa9b7eb191013e95691 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 11 Sep 2009 00:08:50 +0000 Subject: [PATCH] 2009-09-10 Joel Sherrill * rtems/score/cpu.h: Make heap alignment 4 which is greater than CPU_ALIGNMENT but minimum for heap. --- cpukit/score/cpu/m32c/ChangeLog | 5 +++++ cpukit/score/cpu/m32c/rtems/score/cpu.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/cpukit/score/cpu/m32c/ChangeLog b/cpukit/score/cpu/m32c/ChangeLog index e8fd71af70..8f867b173d 100644 --- a/cpukit/score/cpu/m32c/ChangeLog +++ b/cpukit/score/cpu/m32c/ChangeLog @@ -1,3 +1,8 @@ +2009-09-10 Joel Sherrill + + * rtems/score/cpu.h: Make heap alignment 4 which is greater than + CPU_ALIGNMENT but minimum for heap. + 2009-02-12 Joel Sherrill * cpu.c, rtems/score/cpu.h: Change prototype of IDLE thread to diff --git a/cpukit/score/cpu/m32c/rtems/score/cpu.h b/cpukit/score/cpu/m32c/rtems/score/cpu.h index bf49eb9cfb..3f8057f922 100644 --- a/cpukit/score/cpu/m32c/rtems/score/cpu.h +++ b/cpukit/score/cpu/m32c/rtems/score/cpu.h @@ -625,7 +625,7 @@ SCORE_EXTERN void *_CPU_Interrupt_stack_high; * * XXX document implementation including references if appropriate */ -#define CPU_HEAP_ALIGNMENT CPU_ALIGNMENT +#define CPU_HEAP_ALIGNMENT 4 /** * This number corresponds to the byte alignment requirement for memory