Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Sep 1998 10:06:08 -0700
From:      Mike Smith <mike@smith.net.au>
To:        Scott Smyth <smyth@bashful.realminfo.com>
Cc:        freebsd-hackers <freebsd-hackers@FreeBSD.ORG>
Subject:   Re: memory allocation above "physical" memory 
Message-ID:  <199809181706.KAA00787@word.smith.net.au>
In-Reply-To: Your message of "Fri, 18 Sep 1998 12:06:11 EDT." <Pine.LNX.3.96.980918115112.606H-100000@bashful.realminfo.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> If the kernel is hacked to only know about 64 MB, is there
> functionality already in the BSD kernel so allocate the memory
> that may lie above what the kernel "knows" about.  For instance,
> in linux, vremap builds new page tables and returns a virtual
> address you can use.  So, I am looking for a function that
> retrieves memory the kernel does not know about necessarily and
> maps it to virtual addresses (whether or not it is contigous in
> physical memory -- it may be).
> 
> The example: physical memory the kernel knows: 64 MB, but the
> real memory banks hold 96 MB.  How can I access the top 32 MB?
> Does functionality exist for:
> 1) getting page tables;
> 2) mapping page tables to virtual addresses.

In most cases this is already taken care of; there should be no systems 
on which physical memory is not correctly sized if you are running a 
recent release or 3.0-current.

-- 
\\  Sometimes you're ahead,       \\  Mike Smith
\\  sometimes you're behind.      \\  mike@smith.net.au
\\  The race is long, and in the  \\  msmith@freebsd.org
\\  end it's only with yourself.  \\  msmith@cdrom.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



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