summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/i386/pc386/start
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-08-19 14:47:39 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-08-19 14:47:39 +0000
commit0375c72aaa7fd786e59b43b0cd3f9cf9f791ab8a (patch)
tree5252c745b8302cf0bc8fb2aa9a01c7dd230423f8 /c/src/lib/libbsp/i386/pc386/start
parentPatch from Aleksey <qqi@world.std.com>: (diff)
downloadrtems-0375c72aaa7fd786e59b43b0cd3f9cf9f791ab8a.tar.bz2
Patch from Aleksey <qqi@world.std.com>:
This patch has same changes as one I sent to you earlier plus it fixes _heap_size problem for pc386 we had discussed earlier. Now, _heap_size is defined and set to 0 in pc386/startup/bspstart.c It can be patched to desireable value in binary image. If it is left unpatched, then startup code will determine size of memory (on the assumption that at least 2MB are present) and use max possible heap.
Diffstat (limited to 'c/src/lib/libbsp/i386/pc386/start')
-rw-r--r--c/src/lib/libbsp/i386/pc386/start/start.s6
1 files changed, 0 insertions, 6 deletions
diff --git a/c/src/lib/libbsp/i386/pc386/start/start.s b/c/src/lib/libbsp/i386/pc386/start/start.s
index c2427500dc..323aa3d088 100644
--- a/c/src/lib/libbsp/i386/pc386/start/start.s
+++ b/c/src/lib/libbsp/i386/pc386/start/start.s
@@ -48,7 +48,6 @@
| Size of heap and stack:
+----------------------------------------------------------------------------*/
-.set HEAP_SIZE, 256
.set STACK_SIZE, 0x1000
/*----------------------------------------------------------------------------+
@@ -129,7 +128,6 @@ speakl: jmp speakl # and SPIN!!!
SYM (_establish_stack):
movl $_end, eax # eax = end of bss/start of heap
- addl _heap_size, eax # eax = end of heap
addl $STACK_SIZE, eax # make room for stack
andl $0xffffffc0, eax # align it on 16 byte boundary
movl eax, esp # set stack pointer
@@ -175,10 +173,6 @@ END_CODE
BEGIN_DATA
- PUBLIC(_heap_size)
-SYM(_heap_size):
- .long HEAP_SIZE << 10
-
PUBLIC(_stack_size)
SYM(_stack_size):
.long STACK_SIZE