From owner-freebsd-questions Fri Sep 18 11:19:01 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA02676 for freebsd-questions-outgoing; Fri, 18 Sep 1998 11:19:01 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from laker.net (jet.laker.net [205.245.74.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA02654 for ; Fri, 18 Sep 1998 11:18:40 -0700 (PDT) (envelope-from sfriedri@laker.net) Received: from nt (digital-pbi-150.laker.net [208.0.233.50]) by laker.net (8.9.0/8.9.LAKERNET.NO-SPAM.SPAMMERS.AND.RELAYS.WILL.BE.TRACKED.AND.PROSECUTED.) with SMTP id OAA10242; Fri, 18 Sep 1998 14:17:46 -0400 Message-Id: <199809181817.OAA10242@laker.net> From: "Steve Friedrich" To: "freebsd-questions" , "Scott Smyth" Date: Fri, 18 Sep 1998 14:17:39 -0400 Reply-To: "Steve Friedrich" X-Mailer: PMMail 98 Professional (2.01.1600) For Windows NT (4.0.1381;3) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: Re: memory allocation above "physical" memory (fwd) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 18 Sep 1998 12:08:45 -0400 (EDT), Scott Smyth wrote: >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). > >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. > >Thanks, >Scott Would you be interested in the kernel detecting that 32MB ?? Look in the LINT config is /sys/i386/conf for MAXMEM. There are notes regarding usage... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message