summaryrefslogtreecommitdiffstats
path: root/sys/mips/adm5120
diff options
context:
space:
mode:
authorgonzo <gonzo@FreeBSD.org>2010-12-09 07:01:03 +0000
committergonzo <gonzo@FreeBSD.org>2010-12-09 07:01:03 +0000
commit8ae51d5a21a1fc98aff0548e431f4a2892128289 (patch)
tree84bf289479a5756413146b50f58901a4d79802a1 /sys/mips/adm5120
parent012e7effe8b74bcbabfe1dc56b95ee94e3ca056b (diff)
downloadFreeBSD-src-8ae51d5a21a1fc98aff0548e431f4a2892128289.zip
FreeBSD-src-8ae51d5a21a1fc98aff0548e431f4a2892128289.tar.gz
- Populate dump_avail with proper values from phys_avail
Diffstat (limited to 'sys/mips/adm5120')
-rw-r--r--sys/mips/adm5120/adm5120_machdep.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/mips/adm5120/adm5120_machdep.c b/sys/mips/adm5120/adm5120_machdep.c
index 90a6b90..39440ff 100644
--- a/sys/mips/adm5120/adm5120_machdep.c
+++ b/sys/mips/adm5120/adm5120_machdep.c
@@ -97,6 +97,9 @@ mips_init(void)
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;
init_param1();
OpenPOWER on IntegriCloud