Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Dec 1996 15:01:56 -0800
From:      Julian Elischer <julian@whistle.com>
To:        Terry Lambert <terry@lambert.org>
Cc:        Joao Carlos Mendes Luis <jonny@mailhost.coppe.ufrj.br>, tony@dell.com, eivind@dimaga.com, hackers@freebsd.org
Subject:   Re: Boot loader hacks was: Re: MAXMEM
Message-ID:  <32B5D4E4.167EB0E7@whistle.com>
References:  <199612162101.OAA02010@phaeton.artisoft.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Terry Lambert wrote:
> 
> > Just a stupid question: Why does the boot loader should know if
> > there's more than 64M or not on the system ?
> 
> So it can tell the kernel.
> 
> > Why couldn't it simply detect 64M at most, and let the kernel
> > find the rest by itself ?  Anyway, is what's done with the
> > MAXMEM option, isn't it ?
> 
> No; the kernel assumes what you tell it is true.  If you use the
> MAXMEM option, you are eternally stuck with that memory for that
> particular kernel.  Take it to a machine with more memory, and
> you don't use the extra; take it to a machine with less, and you
> are screwed.
>
I added code to OSF1/x86 to look for more ram and add it to the ammount 
reported by the bios.. it wasn't that hard!!

the problem is that it needs to be done very early so that 
an access to non-existant memory doesn't produce an NMI
when read from (on parity systems) or other similar problems..


julian



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?32B5D4E4.167EB0E7>