summaryrefslogtreecommitdiffstats
path: root/doc/started/nt.t
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2003-09-26 20:43:22 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2003-09-26 20:43:22 +0000
commit92b67b18d78f9822dcd58c018c130e4bd986986b (patch)
treedf313cd1b79049b08ed607e2861947c5fcc2a845 /doc/started/nt.t
parent2003-09-26 Till Straumann <strauman@slac.stanford.edu> (diff)
downloadrtems-92b67b18d78f9822dcd58c018c130e4bd986986b.tar.bz2
2003-09-26 Till Strauman <strauman@slac.stanford.edu>
PR 496/bsps * startup/sbrk.c: New file. * startup/bspstart.c: This patch implements 'sbrk' for the powerpc-shared BSP to work around what's known as the '32Mb problem' in combination with run-time loaded code. GCC normally generates (PowerPC) code doing 'short jumps' which requires all text segments being in the same 32Mb area of memory. However, some run-time loaders use (e.g. heap-) memory violating the stated limitation on hardware with more than 32Mb of memory. (NOTE: portable loaders are probably not even aware of this GCC/CPU specific problem.) This patch implements a simple workaround: At boot time, the system is only provided with 32Mb of memory. The user is supposed to load all necessary modules prior to that limit being exhausted. Once that happens, newlib/malloc end up trying to 'sbrk()' for more memory and the implementation provided by this patch will then make the rest of the physical memory available.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions