From 8ae51d5a21a1fc98aff0548e431f4a2892128289 Mon Sep 17 00:00:00 2001 From: gonzo Date: Thu, 9 Dec 2010 07:01:03 +0000 Subject: - Populate dump_avail with proper values from phys_avail --- sys/mips/atheros/ar71xx_machdep.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sys/mips/atheros') diff --git a/sys/mips/atheros/ar71xx_machdep.c b/sys/mips/atheros/ar71xx_machdep.c index ec355cc..c8abc74 100644 --- a/sys/mips/atheros/ar71xx_machdep.c +++ b/sys/mips/atheros/ar71xx_machdep.c @@ -184,6 +184,9 @@ platform_start(__register_t a0 __unused, __register_t a1 __unused, phys_avail[0] = MIPS_KSEG0_TO_PHYS(kernel_kseg0_end); phys_avail[1] = ctob(realmem); + dump_avail[0] = phys_avail[0]; + dump_avail[1] = phys_avail[1] - phys_avail[0]; + physmem = realmem; /* -- cgit v1.1