PERFORCE change 134645 for review
Bjoern A. Zeeb
bz at FreeBSD.org
Sat Feb 2 01:08:45 PST 2008
On Sat, 2 Feb 2008, Randall R. Stewart wrote:
> http://perforce.freebsd.org/chv.cgi?CH=134645
>
> Change 134645 by rrs at rrs-mips2-jnpr on 2008/02/02 08:39:48
>
> Fix so Maxmem gets setup like it does in
> other platforms. This really only fixes the Physmem print
> before Avail Memory... but its one of those nags .
>
> Affected files ...
>
> .. //depot/projects/mips2-jnpr/src/sys/mips/mips32/octeon32/octeon_machdep.c#8 edit
>
> Differences ...
>
> ==== //depot/projects/mips2-jnpr/src/sys/mips/mips32/octeon32/octeon_machdep.c#8 (text+ko) ====
>
> @@ -1108,6 +1108,7 @@
> extern int *end;
> extern void _start(void);
>
> +extern int Maxmem;
>
> static void
> mips_init(void)
> @@ -1190,6 +1191,8 @@
> printf("\nBank 1 = 0x%8X -> 0x%8X\n", phys_avail[2], phys_avail[3]);
> printf("\nphysmem: 0x%lx", physmem);
>
> + Maxmem = physmem;
> +
ist there a reason this variable starts with an uppercase letter?
> init_param1();
> init_param2(physmem);
> mips_cpu_init();
>
--
Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT
Software is harder than hardware so better get it right the first time.
More information about the p4-projects
mailing list