<!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-10-06)</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>joel</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-10-06 Gedare Bloom <giddyup44@yahoo.com>

        PR 1918/cpukit
        * cpu.c: Initialize context with cleared g4 register.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/score/cpu/sparc64/ChangeLog.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%'>cpukit/score/cpu/sparc64/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/score/cpu/sparc64/cpu.c.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>cpukit/score/cpu/sparc64/cpu.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/score/cpu/sparc64/ChangeLog:1.10 rtems/cpukit/score/cpu/sparc64/ChangeLog:1.11
--- rtems/cpukit/score/cpu/sparc64/ChangeLog:1.10       Tue Sep 27 04:18:04 2011
+++ rtems/cpukit/score/cpu/sparc64/ChangeLog    Thu Oct  6 11:42:52 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-10-06    Gedare Bloom <giddyup44@yahoo.com>
+
+       PR 1918/cpukit
+       * cpu.c: Initialize context with cleared g4 register.
+
</font> 2011-09-27        Sebastian Huber <sebastian.huber@embedded-brains.de>
 
        PR 1914/cpukit

<font color='#006600'>diff -u rtems/cpukit/score/cpu/sparc64/cpu.c:1.2 rtems/cpukit/score/cpu/sparc64/cpu.c:1.3
--- rtems/cpukit/score/cpu/sparc64/cpu.c:1.2    Sun Jul 24 18:43:20 2011
+++ rtems/cpukit/score/cpu/sparc64/cpu.c        Thu Oct  6 11:42:52 2011
</font><font color='#997700'>@@ -104,6 +104,9 @@
</font>     the_context->o6_sp = stack_high - CPU_MINIMUM_STACK_FRAME_SIZE - STACK_BIAS;
     the_context->i6_fp = 0;
 
<font color='#000088'>+    /* ABI uses g4 as segment register, make sure it is zeroed */
+    the_context->g4    = 0;
+
</font>     /* PSTATE used to be built here, but is no longer included in context */
 
   /*
</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>joel</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-10-06 Gedare Bloom <giddyup44@yahoo.com>

        PR 1919/bsp
        * Makefile.am: Change install ISR callout to bsppredriverhook.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/sparc64/usiii/ChangeLog.diff?r1=text&tr1=1.8&r2=text&tr2=1.9&diff_format=h">M</a></td><td width='1%'>1.9</td><td width='100%'>c/src/lib/libbsp/sparc64/usiii/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/sparc64/usiii/Makefile.am.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>c/src/lib/libbsp/sparc64/usiii/Makefile.am</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/sparc64/usiii/ChangeLog:1.8 rtems/c/src/lib/libbsp/sparc64/usiii/ChangeLog:1.9
--- rtems/c/src/lib/libbsp/sparc64/usiii/ChangeLog:1.8  Mon Jun 20 05:30:35 2011
+++ rtems/c/src/lib/libbsp/sparc64/usiii/ChangeLog      Thu Oct  6 11:44:56 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-10-06    Gedare Bloom <giddyup44@yahoo.com>
+
+       PR 1919/bsp
+       * Makefile.am: Change install ISR callout to bsppredriverhook.
+
</font> 2011-06-20        Ralf Corsépius <ralf.corsepius@rtems.org>
 
        * Makefile.am: Don't reference non-existing files.

<font color='#006600'>diff -u rtems/c/src/lib/libbsp/sparc64/usiii/Makefile.am:1.2 rtems/c/src/lib/libbsp/sparc64/usiii/Makefile.am:1.3
--- rtems/c/src/lib/libbsp/sparc64/usiii/Makefile.am:1.2        Mon Jun 20 05:30:37 2011
+++ rtems/c/src/lib/libbsp/sparc64/usiii/Makefile.am    Thu Oct  6 11:44:56 2011
</font><font color='#997700'>@@ -89,11 +89,11 @@
</font> dist_project_lib_DATA += ../shared/startup/linkcmds
 
 startup_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \
<font color='#880000'>-    ../../shared/bsppredriverhook.c ../../shared/bsppretaskinghook.c \
</font><font color='#000088'>+    ../../shared/bspstart.c ../../shared/bsppretaskinghook.c \
</font>     ../../shared/bsppost.c \
     ../../shared/bootcard.c ../../shared/sbrk.c \
     ../shared/startup/bspgetworkarea.c \
<font color='#880000'>-    ../shared/startup/bspstart.c \
</font><font color='#000088'>+    ../shared/startup/bsppredriverhook.c \
</font>     ../shared/startup/setvec.c \
     ../../shared/gnatinstallhandler.c  \
     ../shared/helenos/boot/genarch/balloc.c \
</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>joel</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-10-06 Gedare Bloom <giddyup44@yahoo.com>

        PR 1919/bsp
        * shared/startup/bsppredriverhook.c: New file.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/sparc64/ChangeLog.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/sparc64/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/sparc64/shared/startup/bsppredriverhook.c?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">c/src/lib/libbsp/sparc64/shared/startup/bsppredriverhook.c</font></td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/sparc64/ChangeLog:1.10 rtems/c/src/lib/libbsp/sparc64/ChangeLog:1.11
--- rtems/c/src/lib/libbsp/sparc64/ChangeLog:1.10       Mon Jun 20 05:46:23 2011
+++ rtems/c/src/lib/libbsp/sparc64/ChangeLog    Thu Oct  6 11:45:12 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-10-06    Gedare Bloom <giddyup44@yahoo.com>
+
+       PR 1919/bsp
+       * shared/startup/bsppredriverhook.c: New file.
+
</font> 2011-06-20        Ralf Corsépius <ralf.corsepius@rtems.org>
 
        * Makefile.am: Remove superfluous EXTRA_DIST.

<font color='#006600'>diff -u /dev/null rtems/c/src/lib/libbsp/sparc64/shared/startup/bsppredriverhook.c:1.1
--- /dev/null   Thu Oct  6 12:11:25 2011
+++ rtems/c/src/lib/libbsp/sparc64/shared/startup/bsppredriverhook.c    Thu Oct  6 11:45:12 2011
</font><font color='#997700'>@@ -0,0 +1,21 @@
</font><font color='#000088'>+/*
+ *  This is a bsp_predriver_hook routine for sparc64
+ *
+ *  COPYRIGHT (c) 1989-2007.
+ *  On-Line Applications Research Corporation (OAR).
+ *
+ *  The license and distribution terms for this file may be
+ *  found in the file LICENSE in this distribution or at
+ *  http://www.rtems.com/license/LICENSE.
+ *
+ *  $Id$
+ */
+
+#include <bsp/bootcard.h>
+
+extern void sparc64_install_isr_entries(void);
+
+void bsp_predriver_hook( void )
+{
+  sparc64_install_isr_entries();
+}
</font></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>joel</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-10-06 Gedare Bloom <giddyup44@yahoo.com>

        PR 1920/bsp
        * shared/helenos/kernel/sparc64/src/sun4u/takemmu.S,
        shared/start/start.S, shared/startup/bspgetworkarea.c,
        shared/startup/linkcmds: Fix BSP memory use to support more than 4 MB
        of RAM.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/sparc64/ChangeLog.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/sparc64/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/sparc64/shared/helenos/kernel/sparc64/src/sun4u/takemmu.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/sparc64/shared/helenos/kernel/sparc64/src/sun4u/takemmu.S</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/sparc64/shared/start/start.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/sparc64/shared/start/start.S</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/sparc64/shared/startup/bspgetworkarea.c.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/sparc64/shared/startup/bspgetworkarea.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/sparc64/shared/startup/linkcmds.diff?r1=text&tr1=1.3&r2=text&tr2=1.4&diff_format=h">M</a></td><td width='1%'>1.4</td><td width='100%'>c/src/lib/libbsp/sparc64/shared/startup/linkcmds</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/sparc64/ChangeLog:1.11 rtems/c/src/lib/libbsp/sparc64/ChangeLog:1.12
--- rtems/c/src/lib/libbsp/sparc64/ChangeLog:1.11       Thu Oct  6 11:45:12 2011
+++ rtems/c/src/lib/libbsp/sparc64/ChangeLog    Thu Oct  6 11:46:36 2011
</font><font color='#997700'>@@ -1,5 +1,13 @@
</font> 2011-10-06        Gedare Bloom <giddyup44@yahoo.com>
 
<font color='#000088'>+   PR 1920/bsp
+       * shared/helenos/kernel/sparc64/src/sun4u/takemmu.S,
+       shared/start/start.S, shared/startup/bspgetworkarea.c,
+       shared/startup/linkcmds: Fix BSP memory use to support more than 4 MB
+       of RAM.
+
+2011-10-06     Gedare Bloom <giddyup44@yahoo.com>
+
</font>   PR 1919/bsp
        * shared/startup/bsppredriverhook.c: New file.
 

<font color='#006600'>diff -u rtems/c/src/lib/libbsp/sparc64/shared/helenos/kernel/sparc64/src/sun4u/takemmu.S:1.1 rtems/c/src/lib/libbsp/sparc64/shared/helenos/kernel/sparc64/src/sun4u/takemmu.S:1.2
--- rtems/c/src/lib/libbsp/sparc64/shared/helenos/kernel/sparc64/src/sun4u/takemmu.S:1.1        Thu Jun 17 11:20:45 2010
+++ rtems/c/src/lib/libbsp/sparc64/shared/helenos/kernel/sparc64/src/sun4u/takemmu.S    Thu Oct  6 11:46:36 2011
</font><font color='#997700'>@@ -178,11 +178,11 @@
</font>   stxa %g0, [%g1] ASI_DMMU_DEMAP<span style="background-color: #FF0000">                  </span>
        membar #Sync
 */
<font color='#880000'>-#define SET_TLB_TAG(r1, context) \
-       set VMA | (context << TLB_TAG_ACCESS_CONTEXT_SHIFT), %r1
</font><font color='#000088'>+#define SET_TLB_TAG(xVMA, r1, context) \
+       set xVMA | (context << TLB_TAG_ACCESS_CONTEXT_SHIFT), %r1
</font> 
        ! write DTLB tag
<font color='#880000'>-   SET_TLB_TAG(g1, MEM_CONTEXT_KERNEL)
</font><font color='#000088'>+      SET_TLB_TAG(0x4000, g1, MEM_CONTEXT_KERNEL)
</font>   stxa %g1, [VA_DMMU_TAG_ACCESS] %asi<span style="background-color: #FF0000">                     </span>
        membar #Sync
 
<font color='#997700'>@@ -271,7 +271,7 @@
</font>   flush %g5
 */
        ! write ITLB tag of context 0
<font color='#880000'>-   SET_TLB_TAG(g1, MEM_CONTEXT_KERNEL)
</font><font color='#000088'>+      SET_TLB_TAG(0x4000, g1, MEM_CONTEXT_KERNEL)
</font>   mov VA_DMMU_TAG_ACCESS, %g2
        stxa %g1, [%g2] ASI_IMMU
        flush %g5
<font color='#997700'>@@ -280,6 +280,36 @@
</font>   SET_TLB_DATA(g1, g2, TTE_L)             ! use non-global mapping
        stxa %g1, [%g0] ASI_ITLB_DATA_IN_REG<span style="background-color: #FF0000">            </span>
        flush %g5
<font color='#000088'>+
+  ! GAB: add more mappings for dmmu in 4 MB chunks
+  SET_TLB_TAG(0x404000, g1, MEM_CONTEXT_KERNEL)
+  stxa %g1, [VA_DMMU_TAG_ACCESS] %asi
+  membar #Sync
+  set 0x400000, %g1
+  add %g1, %l5, %l5
+  SET_TLB_DATA(g1, g2, TTE_L | TTE_W)
+  stxa %g1, [%g0] ASI_DTLB_DATA_IN_REG
+  membar #Sync
+
+  SET_TLB_TAG(0x804000, g1, MEM_CONTEXT_KERNEL)
+  stxa %g1, [VA_DMMU_TAG_ACCESS] %asi
+  membar #Sync
+  set 0x400000, %g1
+  add %g1, %l5, %l5
+  SET_TLB_DATA(g1, g2, TTE_L | TTE_W)
+  stxa %g1, [%g0] ASI_DTLB_DATA_IN_REG
+  membar #Sync
+
+  SET_TLB_TAG(0xc04000, g1, MEM_CONTEXT_KERNEL)
+  stxa %g1, [VA_DMMU_TAG_ACCESS] %asi
+  membar #Sync
+  set 0x400000, %g1
+  add %g1, %l5, %l5
+  SET_TLB_DATA(g1, g2, TTE_L | TTE_W)
+  stxa %g1, [%g0] ASI_DTLB_DATA_IN_REG
+  membar #Sync
+
+
</font> /*
        ! enter nucleus - using context 0
        wrpr %g0, 1, %tl

<font color='#006600'>diff -u rtems/c/src/lib/libbsp/sparc64/shared/start/start.S:1.1 rtems/c/src/lib/libbsp/sparc64/shared/start/start.S:1.2
--- rtems/c/src/lib/libbsp/sparc64/shared/start/start.S:1.1     Thu Jun 17 11:20:45 2010
+++ rtems/c/src/lib/libbsp/sparc64/shared/start/start.S Thu Oct  6 11:46:36 2011
</font><font color='#997700'>@@ -123,6 +123,10 @@
</font>   set SYM(StackStart), %sp
        add %sp, -STACK_BIAS, %sp
 
<font color='#000088'>+  /* BSP-specific pre-bootcard initializations */
+  call SYM(_BSP_init)
+  nop
+
</font>   setx ofw_cif, %l0, %l1
  
        call ofw_init           ! initialize OpenFirmware
<font color='#997700'>@@ -131,9 +135,6 @@
</font>   call bootstrap
   nop
 
<font color='#880000'>-  /* BSP-specific pre-bootcard initializations */
-  call SYM(_BSP_init)
-  nop
</font> 
   /* Set up ISR handler for interrupt enable/disable */
        setx SYM(syscall), %l0, %o1

<font color='#006600'>diff -u rtems/c/src/lib/libbsp/sparc64/shared/startup/bspgetworkarea.c:1.1 rtems/c/src/lib/libbsp/sparc64/shared/startup/bspgetworkarea.c:1.2
--- rtems/c/src/lib/libbsp/sparc64/shared/startup/bspgetworkarea.c:1.1  Thu Jun 17 11:20:46 2010
+++ rtems/c/src/lib/libbsp/sparc64/shared/startup/bspgetworkarea.c      Thu Oct  6 11:46:36 2011
</font><font color='#997700'>@@ -59,7 +59,7 @@
</font>   #endif
 
   *work_area_start = WorkAreaBase;
<font color='#880000'>-  *work_area_size  = ram_end - (uintptr_t) WorkAreaBase;
</font><font color='#000088'>+  *work_area_size  = (uintptr_t) HeapSize;
</font>   *heap_start      = (void*) HeapBase;
   *heap_size       = (uintptr_t) HeapSize;
 

<font color='#006600'>diff -u rtems/c/src/lib/libbsp/sparc64/shared/startup/linkcmds:1.3 rtems/c/src/lib/libbsp/sparc64/shared/startup/linkcmds:1.4
--- rtems/c/src/lib/libbsp/sparc64/shared/startup/linkcmds:1.3  Tue Nov 16 17:20:08 2010
+++ rtems/c/src/lib/libbsp/sparc64/shared/startup/linkcmds      Thu Oct  6 11:46:36 2011
</font><font color='#997700'>@@ -13,9 +13,9 @@
</font>  * Declare some sizes.
  */
 RamBase = DEFINED(RamBase) ? RamBase : 0x0;
<font color='#880000'>-RamSize = DEFINED(RamSize) ? RamSize : 16M;
-HeapSize = DEFINED(HeapSize) ? HeapSize : 256k;
-StackSize = DEFINED(StackSize) ? StackSize : 256k;
</font><font color='#000088'>+RamSize = DEFINED(RamSize) ? RamSize : 12M;
+HeapSize = DEFINED(HeapSize) ? HeapSize : 1M;
+StackSize = DEFINED(StackSize) ? StackSize : 1M;
</font> 
 RAM_END = RamBase + RamSize;
 
<font color='#997700'>@@ -25,7 +25,7 @@
</font> 
 MEMORY
         {
<font color='#880000'>-           ram : ORIGIN = 0x0, LENGTH = 16M
</font><font color='#000088'>+              ram : ORIGIN = 0x0, LENGTH = 12M
</font>   }
 
 
</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>