Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Feb 2008 08:47:58 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        "Randall R. Stewart" <rrs@FreeBSD.org>
Cc:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   Re: PERFORCE change 134645 for review
Message-ID:  <20080202084735.E49429@maildrop.int.zabbadoz.net>
In-Reply-To: <200802020840.m128elSV080592@repoman.freebsd.org>
References:  <200802020840.m128elSV080592@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 2 Feb 2008, Randall R. Stewart wrote:

> http://perforce.freebsd.org/chv.cgi?CH=134645
>
> Change 134645 by rrs@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080202084735.E49429>