This commit is contained in:
Joel Sherrill
2008-10-02 13:51:27 +00:00
parent 92b338c091
commit 1666253fcb
2 changed files with 4 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
2008-10-02 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, startup/bspgetworkarea.c: Turn = into +=.
* Makefile.am: Turn = into +=.
2008-10-01 Ralf Corsépius <ralf.corsepius@rtems.org>

View File

@@ -74,9 +74,11 @@ void bsp_size_memory(void)
(_boot_multiboot_info.flags & 1) &&
_boot_multiboot_info.mem_upper ) {
bsp_mem_size = _boot_multiboot_info.mem_upper * 1024;
printk( "multiboot\n" );
}
if ( (uintptr_t) RamSize == (uintptr_t) 0xFFFFFFFF ) {
printk( "sizing\n" );
/*
* We have to dynamically size memory. Memory size can be anything
* between no less than 2M and 2048M.
@@ -97,6 +99,7 @@ void bsp_size_memory(void)
topAddr = (i-1)*1024*1024 - 4;
} else {
printk( "hardcoded\n" );
topAddr = (uintptr_t) RamSize;
}