diff options
author | gonzo <gonzo@FreeBSD.org> | 2010-12-09 07:01:03 +0000 |
---|---|---|
committer | gonzo <gonzo@FreeBSD.org> | 2010-12-09 07:01:03 +0000 |
commit | 8ae51d5a21a1fc98aff0548e431f4a2892128289 (patch) | |
tree | 84bf289479a5756413146b50f58901a4d79802a1 /sys/mips/alchemy | |
parent | 012e7effe8b74bcbabfe1dc56b95ee94e3ca056b (diff) | |
download | FreeBSD-src-8ae51d5a21a1fc98aff0548e431f4a2892128289.zip FreeBSD-src-8ae51d5a21a1fc98aff0548e431f4a2892128289.tar.gz |
- Populate dump_avail with proper values from phys_avail
Diffstat (limited to 'sys/mips/alchemy')
-rw-r--r-- | sys/mips/alchemy/alchemy_machdep.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/mips/alchemy/alchemy_machdep.c b/sys/mips/alchemy/alchemy_machdep.c index a94d995..600926a 100644 --- a/sys/mips/alchemy/alchemy_machdep.c +++ b/sys/mips/alchemy/alchemy_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(); |