change log for rtems (2011-09-14)

rtems-vc at rtems.org rtems-vc at rtems.org
Wed Sep 14 15:10:26 UTC 2011


 *sh*:
2011-09-14	Sebastian Huber <sebastian.huber at embedded-brains.de>

	PR 1898/cpukit
	* score/include/rtems/score/percpu.h: Use CPU_STRUCTURE_ALIGNMENT for
	_Per_CPU_Information.

M 1.2919  cpukit/ChangeLog
M   1.13  cpukit/score/include/rtems/score/percpu.h

diff -u rtems/cpukit/ChangeLog:1.2918 rtems/cpukit/ChangeLog:1.2919
--- rtems/cpukit/ChangeLog:1.2918	Sun Sep 11 15:52:36 2011
+++ rtems/cpukit/ChangeLog	Wed Sep 14 09:16:56 2011
@@ -1,3 +1,9 @@
+2011-09-14	Sebastian Huber <sebastian.huber at embedded-brains.de>
+
+	PR 1898/cpukit
+	* score/include/rtems/score/percpu.h: Use CPU_STRUCTURE_ALIGNMENT for
+	_Per_CPU_Information.
+
 2011-09-11	Petr Benes <benesp16 at fel.cvut.cz>
 
 	PR 1896/cpukit

diff -u rtems/cpukit/score/include/rtems/score/percpu.h:1.12 rtems/cpukit/score/include/rtems/score/percpu.h:1.13
--- rtems/cpukit/score/include/rtems/score/percpu.h:1.12	Fri Jul 15 09:36:37 2011
+++ rtems/cpukit/score/include/rtems/score/percpu.h	Wed Sep 14 09:16:56 2011
@@ -216,7 +216,7 @@
  *
  *  This is an array of per CPU core information.
  */
-extern Per_CPU_Control _Per_CPU_Information[];
+extern Per_CPU_Control _Per_CPU_Information[] CPU_STRUCTURE_ALIGNMENT;
 
 #if defined(RTEMS_SMP)
 /**


 *sh*:
2011-09-14	Sebastian Huber <sebastian.huber at embedded-brains.de>

	* rtems/score/cpu.h: Request cache alignment and small data area in
	CPU_STRUCTURE_ALIGNMENT.

M   1.41  cpukit/score/cpu/nios2/ChangeLog
M   1.24  cpukit/score/cpu/nios2/rtems/score/cpu.h

diff -u rtems/cpukit/score/cpu/nios2/ChangeLog:1.40 rtems/cpukit/score/cpu/nios2/ChangeLog:1.41
--- rtems/cpukit/score/cpu/nios2/ChangeLog:1.40	Fri Sep  9 05:00:46 2011
+++ rtems/cpukit/score/cpu/nios2/ChangeLog	Wed Sep 14 09:25:36 2011
@@ -1,3 +1,8 @@
+2011-09-14	Sebastian Huber <sebastian.huber at embedded-brains.de>
+
+	* rtems/score/cpu.h: Request cache alignment and small data area in
+	CPU_STRUCTURE_ALIGNMENT.
+
 2011-09-09	Sebastian Huber <sebastian.huber at embedded-brains.de>
 
 	* nios2-thread-dispatch-disabled.c: Use offsetof() instead of

diff -u rtems/cpukit/score/cpu/nios2/rtems/score/cpu.h:1.23 rtems/cpukit/score/cpu/nios2/rtems/score/cpu.h:1.24
--- rtems/cpukit/score/cpu/nios2/rtems/score/cpu.h:1.23	Thu Sep  1 10:52:12 2011
+++ rtems/cpukit/score/cpu/nios2/rtems/score/cpu.h	Wed Sep 14 09:25:36 2011
@@ -65,10 +65,7 @@
 
 #define CPU_STACK_GROWS_UP FALSE
 
-/*
- * TODO: Run the timing tests and figure out if we profit from cache alignment.
- */
-#define CPU_STRUCTURE_ALIGNMENT
+#define CPU_STRUCTURE_ALIGNMENT __attribute__((section(".sdata"), aligned(32)))
 
 #define CPU_BIG_ENDIAN FALSE
 



--

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/20110914/f63bf193/attachment-0001.html>


More information about the vc mailing list