
5 Jun
2008
5 Jun
'08
12:06 a.m.
In message 1210788591-6996-1-git-send-email-becky.bruce@freescale.com you wrote:
From: Becky Bruce becky.bruce@freescale.com
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
cpu/mpc512x/traps.c | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-)
Applied, thanks!
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
The sight of death frightens them [Earthers].
-- Kras the Klingon, "Friday's Child", stardate 3497.2