Sebastien asked me to also update the misleading comments.
Here we go. (Again, based on CVS.)

- Werner

Index: 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
--- cpu.h       27 Sep 2011 09:17:02 -0000      1.14
+++ cpu.h       8 Nov 2011 23:50:24 -0000
@@ -637,7 +637,7 @@
  *
  *  XXX document implementation including references if appropriate
  */
-#define CPU_ALIGNMENT              8
+#define CPU_ALIGNMENT              4
 
 /**
  *  This number corresponds to the byte alignment requirement for the
@@ -687,9 +687,10 @@
  *  stack.  This alignment requirement may be stricter than that for the
  *  data types alignment specified by @ref CPU_ALIGNMENT.  If the
  *  @ref CPU_ALIGNMENT is strict enough for the stack, then this should be
- *  set to 0.
+ *  set to @ref CPU_ALIGNMENT.
  *
- *  @note This must be a power of 2 either 0 or greater than @ref 
CPU_ALIGNMENT.
+ *  @note This must be a power of 2 either equal to or greater than
+ *  @ref CPU_ALIGNMENT.
  *
  *  Port Specific Information:
  *
_______________________________________________
http://lists.milkymist.org/listinfo.cgi/devel-milkymist.org
IRC: #milkymist@Freenode

Reply via email to