commit | 306b4e872ea11d512ec8f176dd82e3168f7ff3a2 | [log] [tgz] |
---|---|---|
author | Becky Bruce <becky.bruce@freescale.com> | Wed May 14 13:10:04 2008 -0500 |
committer | Andrew Fleming-AFLEMING <afleming@freescale.com> | Mon Jun 09 13:31:20 2008 -0500 |
tree | a2d06b8498eda3cff55d2256f1402dcfab379b40 | |
parent | 1fe3281b2bdb5a8b4f49098ce4f35177f8f423e1 [diff] |
MPC85xx: Change traps.c to not reference non-addressable memory Currently, END_OF_RAM is used by the trap code to determine if we should attempt to access the stack pointer or not. However, on systems with a lot of RAM, only a subset of the RAM is guaranteed to be mapped in and accessible. Change END_OF_RAM to use get_effective_memsize() instead of using the raw ram size out of the bd. Signed-off-by: Becky Bruce <becky.bruce@freescale.com>