[Bug 1956] New: Fix CPU_STACK_ALIGNMENT
bugzilla-daemon at rtems.org
bugzilla-daemon at rtems.org
Tue Nov 8 21:49:05 UTC 2011
https://www.rtems.org/bugzilla/show_bug.cgi?id=1956
Summary: Fix CPU_STACK_ALIGNMENT
Product: RTEMS
Version: HEAD
Platform: lm32
OS/Version: RTEMS
Status: NEW
Severity: normal
Priority: P3
Component: cpukit
AssignedTo: joel.sherrill at oarcorp.com
ReportedBy: seb at tmplab.org
(from Werner Almesberger)
The comments in cpukit/score/cpu/lm32/rtems/score/cpu.h state that
CPU_STACK_ALIGNMENT should either be 0 or >= CPU_ALIGNMENT. The
latter is 8, the former was 4.
I'm not sure if this fix has any real-life impact on M1 behaviour,
but I guess it can't hurt.
- Werner
Index: cpukit/score/cpu/lm32/rtems/score/cpu.h
===================================================================
RCS file: /usr1/CVS/rtems/cpukit/score/cpu/lm32/rtems/score/cpu.h,v
retrieving revision 1.14
diff -u -r1.14 cpu.h
--- cpukit/score/cpu/lm32/rtems/score/cpu.h 27 Sep 2011 09:17:02 -0000
1.14
+++ cpukit/score/cpu/lm32/rtems/score/cpu.h 8 Nov 2011 18:27:45 -0000
@@ -695,7 +695,7 @@
*
* XXX document implementation including references if appropriate
*/
-#define CPU_STACK_ALIGNMENT 4
+#define CPU_STACK_ALIGNMENT 0
/*
* ISR handler macros
--
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the bugs
mailing list