change log for rtems (2010-11-22)

rtems-vc at rtems.org rtems-vc at rtems.org
Mon Nov 22 13:10:48 UTC 2010


 *sh*:
2010-11-22	Sebastian Huber <sebastian.huber at embedded-brains.de>

	* rtems/score/cpu.h: Set alignment requirements according to AAPCS.

M  1.126  cpukit/score/cpu/arm/ChangeLog
M   1.46  cpukit/score/cpu/arm/rtems/score/cpu.h

diff -u rtems/cpukit/score/cpu/arm/ChangeLog:1.125 rtems/cpukit/score/cpu/arm/ChangeLog:1.126
--- rtems/cpukit/score/cpu/arm/ChangeLog:1.125	Thu Jul 29 12:51:30 2010
+++ rtems/cpukit/score/cpu/arm/ChangeLog	Mon Nov 22 07:06:46 2010
@@ -1,3 +1,7 @@
+2010-11-22	Sebastian Huber <sebastian.huber at embedded-brains.de>
+
+	* rtems/score/cpu.h: Set alignment requirements according to AAPCS.
+
 2010-07-29	Gedare Bloom <giddyup44 at yahoo.com>
 
 	PR 1635/cpukit

diff -u rtems/cpukit/score/cpu/arm/rtems/score/cpu.h:1.45 rtems/cpukit/score/cpu/arm/rtems/score/cpu.h:1.46
--- rtems/cpukit/score/cpu/arm/rtems/score/cpu.h:1.45	Fri Jul 16 03:35:32 2010
+++ rtems/cpukit/score/cpu/arm/rtems/score/cpu.h	Mon Nov 22 07:06:46 2010
@@ -12,7 +12,7 @@
  *  This include file contains information pertaining to the ARM
  *  processor.
  *
- *  Copyright (c) 2009 embedded brains GmbH.
+ *  Copyright (c) 2009-2010 embedded brains GmbH.
  *
  *  Copyright (c) 2007 Ray Xu <Rayx.cn at gmail.com>
  *
@@ -175,13 +175,15 @@
 
 #define CPU_STACK_MINIMUM_SIZE (1024 * 4)
 
-#define CPU_ALIGNMENT 4
+/* AAPCS, section 4.1, Fundamental Data Types */
+#define CPU_ALIGNMENT 8
 
 #define CPU_HEAP_ALIGNMENT CPU_ALIGNMENT
 
 #define CPU_PARTITION_ALIGNMENT CPU_ALIGNMENT
 
-#define CPU_STACK_ALIGNMENT 4
+/* AAPCS, section 5.2.1.2, Stack constraints at a public interface */
+#define CPU_STACK_ALIGNMENT 8
 
 /*
  * Bitfield handler macros.



--

Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20101122/ef792b24/attachment.html>


More information about the vc mailing list