Allocate Forth memory and dictionary using malloc like PPC (cf. r345)

git-svn-id: svn://coreboot.org/openbios/openbios-devel@347 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
Blue Swirl
2009-01-04 14:47:11 +00:00
parent b700809e7f
commit a767eeb2d4
4 changed files with 19 additions and 24 deletions

View File

@@ -10,8 +10,7 @@ ENTRY(trap_table)
*/
BASE_ADDR = 0x00000000ffd00000;
/* 512KB heap and 16KB stack */
HEAP_SIZE = 512 * 1024;
/* 16KB stack */
STACK_SIZE = 16384;
VMEM_SIZE = 128 * 1024;
IOMEM_SIZE = 256 * 1024 + 768 * 1024;
@@ -52,15 +51,6 @@ SECTIONS
*(.bss.*)
*(COMMON)
/* Put heap and stack here, so they are included in PT_LOAD segment
* and the bootloader is aware of it. */
. = ALIGN(16);
_heap = .;
. += HEAP_SIZE;
. = ALIGN(16);
_eheap = .;
. = ALIGN(4096);
_vmem = .;
. += VMEM_SIZE;