From owner-freebsd-questions Fri Sep 18 13:32:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA27242 for freebsd-questions-outgoing; Fri, 18 Sep 1998 13:32:54 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA27136 for ; Fri, 18 Sep 1998 13:32:34 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.8.8/8.8.8) with ESMTP id NAA13154; Fri, 18 Sep 1998 13:32:07 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Fri, 18 Sep 1998 13:32:07 -0700 (PDT) From: Doug White To: Scott Smyth cc: freebsd-questions Subject: Re: memory allocation above "physical" memory (fwd) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 18 Sep 1998, Scott Smyth wrote: > > ---------- Forwarded message ---------- > Date: Fri, 18 Sep 1998 12:06:11 -0400 (EDT) > From: Scott Smyth > To: freebsd-hackers > Subject: memory allocation above "physical" memory > > 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). So, you're trying to implement hot-add memory?!?! > 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? It doesn't work that way, sorry; you told the kernel you have 64MB of RAM, and it's going to hold you to that. Assuming you don't program in some functionality. Doug White Internet: dwhite@resnet.uoregon.edu | FreeBSD: The Power to Serve http://gladstone.uoregon.edu/~dwhite | www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message