<!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-12-12)</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>gedare</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-12-12 Gedare Bloom <gedare@rtems.org>
PR bsps/1989
* shared/start/start.S, shared/startup/linkcmds: Boot stack and heap
space improvements.
</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.17&r2=text&tr2=1.18&diff_format=h">M</a></td><td width='1%'>1.18</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/start/start.S.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/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/linkcmds.diff?r1=text&tr1=1.5&r2=text&tr2=1.6&diff_format=h">M</a></td><td width='1%'>1.6</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.17 rtems/c/src/lib/libbsp/sparc64/ChangeLog:1.18
--- rtems/c/src/lib/libbsp/sparc64/ChangeLog:1.17 Mon Dec 12 13:00:47 2011
+++ rtems/c/src/lib/libbsp/sparc64/ChangeLog Mon Dec 12 13:31:48 2011
</font><font color='#997700'>@@ -1,5 +1,11 @@
</font> 2011-12-12 Gedare Bloom <gedare@rtems.org>
<font color='#000088'>+ PR bsps/1989
+ * shared/start/start.S, shared/startup/linkcmds: Boot stack and heap
+ space improvements.
+
+2011-12-12 Gedare Bloom <gedare@rtems.org>
+
</font> PR bsps/1988
* shared/start/start.S: Add _init and _fini to .init and .fini sections
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/sparc64/shared/start/start.S:1.3 rtems/c/src/lib/libbsp/sparc64/shared/start/start.S:1.4
--- rtems/c/src/lib/libbsp/sparc64/shared/start/start.S:1.3 Mon Dec 12 13:00:48 2011
+++ rtems/c/src/lib/libbsp/sparc64/shared/start/start.S Mon Dec 12 13:31:48 2011
</font><font color='#997700'>@@ -53,20 +53,6 @@
</font> .register %g6, #scratch
.register %g7, #scratch
<font color='#880000'>-#if 0
-#define _BSP_DEBUG
-#endif
-
-#if _BSP_DEBUG
-/*
- * This is for debug and script support to identify RTEMS app termination
- */
-.section<span style="background-color: #FF0000"> </span> .data
- .align 8
-_end_token_string:
- .asciz "END_TOKEN\n"
-#endif
-
</font> .section BOOTSTRAP, "ax"
PUBLIC(_start)
<font color='#997700'>@@ -148,20 +134,20 @@
</font> call SYM(boot_card)
sub %sp, 0x60, %sp ! make room on stack (necessary?)
<font color='#880000'>-#if _BSP_DEBUG
- /* execution returns here when RTEMS terminates */
- sethi %hi(_end_token_string), %g1
- add %g1, %lo(_end_token_string), %o0
- call SYM(printk)
- nop
-#endif
-
</font> call SYM(halt)
nop
halted: nop
b SYM(halted)
<font color='#000088'>+.section BOOTSTRAP
+ .align CPU_ALIGNMENT
+ .space 32768 - CPU_MINIMUM_STACK_FRAME_SIZE ! 32K boot stack grows down
+ .global StackStart
+ StackStart:
+ .space CPU_MINIMUM_STACK_FRAME_SIZE ! initial stack frame
+
+.section BOOTSTRAP
</font> .align CPU_ALIGNMENT
param_space:
.space 8
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/sparc64/shared/startup/linkcmds:1.5 rtems/c/src/lib/libbsp/sparc64/shared/startup/linkcmds:1.6
--- rtems/c/src/lib/libbsp/sparc64/shared/startup/linkcmds:1.5 Mon Dec 12 12:52:18 2011
+++ rtems/c/src/lib/libbsp/sparc64/shared/startup/linkcmds Mon Dec 12 13:31:48 2011
</font><font color='#997700'>@@ -14,8 +14,7 @@
</font> */
RamBase = DEFINED(RamBase) ? RamBase : 0x0;
RamSize = DEFINED(RamSize) ? RamSize : 12M;
<font color='#880000'>-HeapSize = DEFINED(HeapSize) ? HeapSize : 1M;
-StackSize = DEFINED(StackSize) ? StackSize : 1M;
</font><font color='#000088'>+HeapSize = DEFINED(HeapSize) ? HeapSize : 2M;
</font>
RAM_END = RamBase + RamSize;
<font color='#997700'>@@ -24,10 +23,9 @@
</font> ENTRY(start)
MEMORY
<font color='#880000'>- {
- ram : ORIGIN = 0x0, LENGTH = 12M
- }
-
</font><font color='#000088'>+{
+ ram : ORIGIN = 0x0, LENGTH = 12M
+}
</font>
SECTIONS
{
<font color='#997700'>@@ -151,7 +149,7 @@
</font> . = ALIGN (16);
_endtext = . ;
_etext = . ;
<font color='#880000'>- } > ram<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+ } > ram
</font>
.data : AT (ADDR (.text) + SIZEOF (.text))
{
<font color='#997700'>@@ -196,9 +194,6 @@
</font> . += HeapSize;
PROVIDE (HeapBase = .);
. += HeapSize;
<font color='#880000'>- . += StackSize;
- PROVIDE (__stack = .);
- PROVIDE (StackStart = .);
</font> } > ram
}
</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>