change log for rtems (2011-12-12)

rtems-vc at rtems.org rtems-vc at rtems.org
Mon Dec 12 19:50:59 UTC 2011


 *gedare*:
2011-12-12	Gedare Bloom <gedare at rtems.org>

	PR bsps/1989
	* shared/start/start.S, shared/startup/linkcmds: Boot stack and heap
	space improvements.

M   1.18  c/src/lib/libbsp/sparc64/ChangeLog
M    1.4  c/src/lib/libbsp/sparc64/shared/start/start.S
M    1.6  c/src/lib/libbsp/sparc64/shared/startup/linkcmds

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
@@ -1,5 +1,11 @@
 2011-12-12	Gedare Bloom <gedare at rtems.org>
 
+	PR bsps/1989
+	* shared/start/start.S, shared/startup/linkcmds: Boot stack and heap
+	space improvements.
+
+2011-12-12	Gedare Bloom <gedare at rtems.org>
+
 	PR bsps/1988
 	* shared/start/start.S: Add _init and _fini to .init and .fini sections
 

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
@@ -53,20 +53,6 @@
 .register %g6, #scratch
 .register %g7, #scratch
 
-#if 0
-#define _BSP_DEBUG
-#endif
-
-#if _BSP_DEBUG
-/*
- * This is for debug and script support to identify RTEMS app termination
- */
-.section 	.data
-	.align 8
-_end_token_string:
-	.asciz "END_TOKEN\n"
-#endif
-
 .section BOOTSTRAP, "ax"
 
 PUBLIC(_start)
@@ -148,20 +134,20 @@
 	call SYM(boot_card)
 	sub	%sp, 0x60, %sp		! make room on stack (necessary?)
 
-#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
-
   call SYM(halt)
   nop
 
 halted:	nop
 	    b SYM(halted)
 
+.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
   .align CPU_ALIGNMENT
   param_space:
   	.space 8

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
@@ -14,8 +14,7 @@
  */
 RamBase = DEFINED(RamBase) ? RamBase : 0x0;
 RamSize = DEFINED(RamSize) ? RamSize : 12M;
-HeapSize = DEFINED(HeapSize) ? HeapSize : 1M;
-StackSize = DEFINED(StackSize) ? StackSize : 1M;
+HeapSize = DEFINED(HeapSize) ? HeapSize : 2M;
 
 RAM_END = RamBase + RamSize;
 
@@ -24,10 +23,9 @@
 ENTRY(start)
 
 MEMORY
-        {
-	        ram : ORIGIN = 0x0, LENGTH = 12M
-	}
-
+{
+  ram : ORIGIN = 0x0, LENGTH = 12M
+}
 
 SECTIONS
 {
@@ -151,7 +149,7 @@
      . = ALIGN (16);
     _endtext = . ;
     _etext = . ;
-  } > ram 
+  } > ram
   
   .data	  : AT (ADDR (.text) + SIZEOF (.text))
   {
@@ -196,9 +194,6 @@
     . += HeapSize;
     PROVIDE (HeapBase = .);
     . += HeapSize;
-    . += StackSize;
-     PROVIDE (__stack = .);
-     PROVIDE (StackStart = .);
   } > ram
 }
 



--

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/20111212/2d68d899/attachment-0001.html>


More information about the vc mailing list