<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>change log for rtems (2011-06-07)</title>
</head>
<body text='#000000' bgcolor='#ffffff'>
<a name='cs1'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>sh</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-06-07 Sebastian Huber <sebastian.huber@embedded-brains.de>
* aclocal/bspopts.m4: Added macros for cache options
RTEMS_BSPOPTS_SET_DATA_CACHE_ENABLED,
RTEMS_BSPOPTS_HELP_DATA_CACHE_ENABLED,
RTEMS_BSPOPTS_SET_INSTRUCTION_CACHE_ENABLED, and
RTEMS_BSPOPTS_HELP_INSTRUCTION_CACHE_ENABLED.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/ChangeLog.diff?r1=text&tr1=1.548&r2=text&tr2=1.549&diff_format=h">M</a></td><td width='1%'>1.549</td><td width='100%'>c/src/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/aclocal/bspopts.m4.diff?r1=text&tr1=1.4&r2=text&tr2=1.5&diff_format=h">M</a></td><td width='1%'>1.5</td><td width='100%'>c/src/aclocal/bspopts.m4</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/ChangeLog:1.548 rtems/c/src/ChangeLog:1.549
--- rtems/c/src/ChangeLog:1.548 Wed Mar 16 15:07:11 2011
+++ rtems/c/src/ChangeLog Tue Jun 7 07:55:44 2011
</font><font color='#997700'>@@ -1,3 +1,11 @@
</font><font color='#000088'>+2011-06-07 Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+ * aclocal/bspopts.m4: Added macros for cache options
+ RTEMS_BSPOPTS_SET_DATA_CACHE_ENABLED,
+ RTEMS_BSPOPTS_HELP_DATA_CACHE_ENABLED,
+ RTEMS_BSPOPTS_SET_INSTRUCTION_CACHE_ENABLED, and
+ RTEMS_BSPOPTS_HELP_INSTRUCTION_CACHE_ENABLED.
+
</font> 2011-03-16 Jennifer Averett <jennifer.averett@OARcorp.com>
PR 1729/cpukit
<font color='#006600'>diff -u rtems/c/src/aclocal/bspopts.m4:1.4 rtems/c/src/aclocal/bspopts.m4:1.5
--- rtems/c/src/aclocal/bspopts.m4:1.4 Tue Feb 3 03:13:41 2009
+++ rtems/c/src/aclocal/bspopts.m4 Tue Jun 7 07:55:44 2011
</font><font color='#997700'>@@ -64,3 +64,21 @@
</font> [AS_HELP_STRING([$1],[$2], )])],
[$0($1)])dnl
])
<font color='#000088'>+
+AC_DEFUN(
+[RTEMS_BSPOPTS_SET_DATA_CACHE_ENABLED],
+[RTEMS_BSPOPTS_SET([BSP_DATA_CACHE_ENABLED],[$1],[$2])])
+
+AC_DEFUN(
+[RTEMS_BSPOPTS_HELP_DATA_CACHE_ENABLED],
+[RTEMS_BSPOPTS_HELP([BSP_DATA_CACHE_ENABLED],
+[enables the data cache, if defined to a value other than zero])])
+
+AC_DEFUN(
+[RTEMS_BSPOPTS_SET_INSTRUCTION_CACHE_ENABLED],
+[RTEMS_BSPOPTS_SET([BSP_INSTRUCTION_CACHE_ENABLED],[$1],[$2])])
+
+AC_DEFUN(
+[RTEMS_BSPOPTS_HELP_INSTRUCTION_CACHE_ENABLED],
+[RTEMS_BSPOPTS_HELP([BSP_INSTRUCTION_CACHE_ENABLED],
+[enables the instruction cache, if defined to a value other than zero])])
</font></pre>
<p> </p>
<a name='cs2'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>sh</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-06-07 Sebastian Huber <sebastian.huber@embedded-brains.de>
* new-exceptions/cpu_asm.S: Use BSP_DATA_CACHE_ENABLED instead of
PPC_USE_DATA_CACHE.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libcpu/powerpc/ChangeLog.diff?r1=text&tr1=1.385&r2=text&tr2=1.386&diff_format=h">M</a></td><td width='1%'>1.386</td><td width='100%'>c/src/lib/libcpu/powerpc/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libcpu/powerpc/new-exceptions/cpu_asm.S.diff?r1=text&tr1=1.14&r2=text&tr2=1.15&diff_format=h">M</a></td><td width='1%'>1.15</td><td width='100%'>c/src/lib/libcpu/powerpc/new-exceptions/cpu_asm.S</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libcpu/powerpc/ChangeLog:1.385 rtems/c/src/lib/libcpu/powerpc/ChangeLog:1.386
--- rtems/c/src/lib/libcpu/powerpc/ChangeLog:1.385 Tue Jun 7 03:23:44 2011
+++ rtems/c/src/lib/libcpu/powerpc/ChangeLog Tue Jun 7 07:59:39 2011
</font><font color='#997700'>@@ -1,5 +1,10 @@
</font> 2011-06-07 Sebastian Huber <sebastian.huber@embedded-brains.de>
<font color='#000088'>+ * new-exceptions/cpu_asm.S: Use BSP_DATA_CACHE_ENABLED instead of
+ PPC_USE_DATA_CACHE.
+
+2011-06-07 Sebastian Huber <sebastian.huber@embedded-brains.de>
+
</font> * shared/src/cache_.h: Moved implementation from "cache.c" to here.
This avoids the function call overhead.
* shared/src/cache.c: Removed file.
<font color='#006600'>diff -u rtems/c/src/lib/libcpu/powerpc/new-exceptions/cpu_asm.S:1.14 rtems/c/src/lib/libcpu/powerpc/new-exceptions/cpu_asm.S:1.15
--- rtems/c/src/lib/libcpu/powerpc/new-exceptions/cpu_asm.S:1.14 Tue Dec 1 19:41:57 2009
+++ rtems/c/src/lib/libcpu/powerpc/new-exceptions/cpu_asm.S Tue Jun 7 07:59:39 2011
</font><font color='#997700'>@@ -293,21 +293,21 @@
</font> sync
isync
/* This assumes that all the registers are in the given order */
<font color='#880000'>-#if ( PPC_USE_DATA_CACHE )
</font><font color='#000088'>+#if ( BSP_DATA_CACHE_ENABLED )
</font> #if PPC_CACHE_ALIGNMENT != 32
#error "code assumes PPC_CACHE_ALIGNMENT == 32!"
#endif
li r5, PPC_CACHE_ALIGNMENT
#endif
addi r9,r3,-4
<font color='#880000'>-#if ( PPC_USE_DATA_CACHE )
</font><font color='#000088'>+#if ( BSP_DATA_CACHE_ENABLED )
</font> dcbz r5, r9
#endif
stw r1, GP_1+4(r9)
stw r2, GP_2+4(r9)
#if (PPC_USE_MULTIPLE == 1)
addi r9, r9, GP_18+4
<font color='#880000'>-#if ( PPC_USE_DATA_CACHE )
</font><font color='#000088'>+#if ( BSP_DATA_CACHE_ENABLED )
</font> dcbz r5, r9
#endif
stmw r13, GP_13-GP_18(r9)
<font color='#997700'>@@ -318,7 +318,7 @@
</font> stw r16, GP_16+4(r9)
stw r17, GP_17+4(r9)
stwu r18, GP_18+4(r9)
<font color='#880000'>-#if ( PPC_USE_DATA_CACHE )
</font><font color='#000088'>+#if ( BSP_DATA_CACHE_ENABLED )
</font> dcbz r5, r9
#endif
stw r19, GP_19-GP_18(r9)
<font color='#997700'>@@ -335,7 +335,7 @@
</font> stw r30, GP_30-GP_18(r9)
stw r31, GP_31-GP_18(r9)
#endif
<font color='#880000'>-#if ( PPC_USE_DATA_CACHE )
</font><font color='#000088'>+#if ( BSP_DATA_CACHE_ENABLED )
</font> dcbt r0, r4
#endif
mfcr r6
<font color='#997700'>@@ -350,19 +350,19 @@
</font> EXTERN_PROC(_CPU_Context_switch_altivec)
bl _CPU_Context_switch_altivec
mr r4, r14
<font color='#880000'>-#if ( PPC_USE_DATA_CACHE )
</font><font color='#000088'>+#if ( BSP_DATA_CACHE_ENABLED )
</font> li r5, PPC_CACHE_ALIGNMENT
#endif
#endif
<font color='#880000'>-#if ( PPC_USE_DATA_CACHE )
</font><font color='#000088'>+#if ( BSP_DATA_CACHE_ENABLED )
</font> dcbt r5, r4
#endif
lwz r1, GP_1(r4)
lwz r2, GP_2(r4)
#if (PPC_USE_MULTIPLE == 1)
addi r4, r4, GP_19
<font color='#880000'>-#if ( PPC_USE_DATA_CACHE )
</font><font color='#000088'>+#if ( BSP_DATA_CACHE_ENABLED )
</font> dcbt r5, r4
#endif
lmw r13, GP_13-GP_19(r4)
<font color='#997700'>@@ -374,7 +374,7 @@
</font> lwz r17, GP_17(r4)
lwz r18, GP_18(r4)
lwzu r19, GP_19(r4)
<font color='#880000'>-#if ( PPC_USE_DATA_CACHE )
</font><font color='#000088'>+#if ( BSP_DATA_CACHE_ENABLED )
</font> dcbt r5, r4
#endif
lwz r20, GP_20-GP_19(r4)
</pre>
<p> </p>
<a name='cs3'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>sh</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-06-07 Sebastian Huber <sebastian.huber@embedded-brains.de>
* shared/src/bsp-start-zero.S: Use BSP_DATA_CACHE_ENABLED instead of
DATA_CACHE_ENABLE.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/ChangeLog.diff?r1=text&tr1=1.247&r2=text&tr2=1.248&diff_format=h">M</a></td><td width='1%'>1.248</td><td width='100%'>c/src/lib/libbsp/powerpc/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/shared/src/bsp-start-zero.S.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>c/src/lib/libbsp/powerpc/shared/src/bsp-start-zero.S</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/ChangeLog:1.247 rtems/c/src/lib/libbsp/powerpc/ChangeLog:1.248
--- rtems/c/src/lib/libbsp/powerpc/ChangeLog:1.247 Wed May 18 00:26:52 2011
+++ rtems/c/src/lib/libbsp/powerpc/ChangeLog Tue Jun 7 08:02:50 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-06-07 Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+ * shared/src/bsp-start-zero.S: Use BSP_DATA_CACHE_ENABLED instead of
+ DATA_CACHE_ENABLE.
+
</font> 2011-05-17 Till Straumann <strauman@slac.stanford.edu>
PR1797/bsps
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/shared/src/bsp-start-zero.S:1.1 rtems/c/src/lib/libbsp/powerpc/shared/src/bsp-start-zero.S:1.2
--- rtems/c/src/lib/libbsp/powerpc/shared/src/bsp-start-zero.S:1.1 Wed Dec 29 04:52:03 2010
+++ rtems/c/src/lib/libbsp/powerpc/shared/src/bsp-start-zero.S Tue Jun 7 08:02:50 2011
</font><font color='#997700'>@@ -64,7 +64,7 @@
</font> /* Main loop */
b main_loop_update
main_loop_begin:
<font color='#880000'>-#ifdef DATA_CACHE_ENABLE
</font><font color='#000088'>+#if BSP_DATA_CACHE_ENABLED
</font> dcbz r0, r3
dcbf r0, r3
#else
</pre>
<p> </p>
<a name='cs4'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>sh</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-06-07 Sebastian Huber <sebastian.huber@embedded-brains.de>
* configure.ac, startup/bspstart.c: Use standard cache BSP options.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/tqm8xx/ChangeLog.diff?r1=text&tr1=1.55&r2=text&tr2=1.56&diff_format=h">M</a></td><td width='1%'>1.56</td><td width='100%'>c/src/lib/libbsp/powerpc/tqm8xx/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/tqm8xx/configure.ac.diff?r1=text&tr1=1.11&r2=text&tr2=1.12&diff_format=h">M</a></td><td width='1%'>1.12</td><td width='100%'>c/src/lib/libbsp/powerpc/tqm8xx/configure.ac</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/tqm8xx/startup/bspstart.c.diff?r1=text&tr1=1.10&r2=text&tr2=1.11&diff_format=h">M</a></td><td width='1%'>1.11</td><td width='100%'>c/src/lib/libbsp/powerpc/tqm8xx/startup/bspstart.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/tqm8xx/ChangeLog:1.55 rtems/c/src/lib/libbsp/powerpc/tqm8xx/ChangeLog:1.56
--- rtems/c/src/lib/libbsp/powerpc/tqm8xx/ChangeLog:1.55 Wed Feb 9 02:27:52 2011
+++ rtems/c/src/lib/libbsp/powerpc/tqm8xx/ChangeLog Tue Jun 7 08:05:07 2011
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+2011-06-07 Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+ * configure.ac, startup/bspstart.c: Use standard cache BSP options.
+
</font> 2011-02-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* timer/timer.c: Include <rtems/btimer.h>.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/tqm8xx/configure.ac:1.11 rtems/c/src/lib/libbsp/powerpc/tqm8xx/configure.ac:1.12
--- rtems/c/src/lib/libbsp/powerpc/tqm8xx/configure.ac:1.11 Wed Feb 2 09:00:21 2011
+++ rtems/c/src/lib/libbsp/powerpc/tqm8xx/configure.ac Tue Jun 7 08:05:07 2011
</font><font color='#997700'>@@ -18,21 +18,11 @@
</font> RTEMS_CHECK_NETWORKING
AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
<font color='#880000'>-RTEMS_BSPOPTS_SET([PPC_USE_DATA_CACHE],[*],[1])
-RTEMS_BSPOPTS_HELP([PPC_USE_DATA_CACHE],
-[If defined, then the PowerPC specific code in RTEMS will use
- data cache instructions to optimize the context switch code.
- This code can conflict with debuggers or emulators.])
-
-RTEMS_BSPOPTS_SET([DATA_CACHE_ENABLE],[*],[1])
-RTEMS_BSPOPTS_HELP([DATA_CACHE_ENABLE],
-[If defined, the data cache will be enabled after address translation
- is turned on.])
-
-RTEMS_BSPOPTS_SET([INSTRUCTION_CACHE_ENABLE],[*],[1])
-RTEMS_BSPOPTS_HELP([INSTRUCTION_CACHE_ENABLE],
-[If defined, the instruction cache will be enabled after address translation
- is turned on.])
</font><font color='#000088'>+RTEMS_BSPOPTS_SET_DATA_CACHE_ENABLED([*],[1])
+RTEMS_BSPOPTS_HELP_DATA_CACHE_ENABLED
+
+RTEMS_BSPOPTS_SET_INSTRUCTION_CACHE_ENABLED([*],[1])
+RTEMS_BSPOPTS_HELP_INSTRUCTION_CACHE_ENABLED
</font>
RTEMS_BSPOPTS_SET([CONSOLE_CHN],[*],[CONS_CHN_SMC1])
RTEMS_BSPOPTS_HELP([CONSOLE_CHN],
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/tqm8xx/startup/bspstart.c:1.10 rtems/c/src/lib/libbsp/powerpc/tqm8xx/startup/bspstart.c:1.11
--- rtems/c/src/lib/libbsp/powerpc/tqm8xx/startup/bspstart.c:1.10 Sun Nov 29 22:30:48 2009
+++ rtems/c/src/lib/libbsp/powerpc/tqm8xx/startup/bspstart.c Tue Jun 7 08:05:07 2011
</font><font color='#997700'>@@ -147,11 +147,11 @@
</font> * Enable instruction and data caches. Do not force writethrough mode.
*/
<font color='#880000'>-#if INSTRUCTION_CACHE_ENABLE
</font><font color='#000088'>+#if BSP_INSTRUCTION_CACHE_ENABLED
</font> rtems_cache_enable_instruction();
#endif
<font color='#880000'>-#if DATA_CACHE_ENABLE
</font><font color='#000088'>+#if BSP_DATA_CACHE_ENABLED
</font> rtems_cache_enable_data();
#endif
</pre>
<p> </p>
<p>--<br />
<small>Generated by <a href="http://www.codewiz.org/projects/index.html#loginfo">Deluxe Loginfo</a> 2.122 by Bernardo Innocenti <bernie@develer.com></small></p>
</body>
</html>