From owner-freebsd-questions Fri Sep 18 11:39:24 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA07371 for freebsd-questions-outgoing; Fri, 18 Sep 1998 11:39:24 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from bashful.realminfo.com (bashful.realminfo.com [208.205.6.135]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA07189 for ; Fri, 18 Sep 1998 11:38:22 -0700 (PDT) (envelope-from smyth@bashful.realminfo.com) Received: from localhost (smyth@localhost) by bashful.realminfo.com (8.8.7/8.8.7) with SMTP id OAA03153; Fri, 18 Sep 1998 14:48:33 -0400 Date: Fri, 18 Sep 1998 14:48:33 -0400 (EDT) From: Scott Smyth To: Steve Friedrich cc: freebsd-questions Subject: Re: memory allocation above "physical" memory (fwd) In-Reply-To: <199809181817.OAA10242@laker.net> 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, Steve Friedrich wrote: > On Fri, 18 Sep 1998 12:08:45 -0400 (EDT), Scott Smyth wrote: > > >Subject: memory allocation above "physical" 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? > >Does functionality exist for: > >1) getting page tables; > >2) mapping page tables to virtual addresses. > > > > 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... > Yes. I use that already too. I am talking a way to allocate pages and memory outside of the regular kernel mapping for my own purposes. I am going to try and allocate the memory treating it like a device (/dev/exmem like /dev/mem) pages using d_mmap. That way I can access them without any other OS "interference" if you will for my own special buffer use. Thanks -- Scott Smyth, Senior Developer R&D (770) 446-1332 ssmyth@realminfo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message