From owner-freebsd-questions Tue Oct 22 22:38:01 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id WAA15138 for questions-outgoing; Tue, 22 Oct 1996 22:38:01 -0700 (PDT) Received: from dyson.iquest.net ([198.70.144.127]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id WAA15133 for ; Tue, 22 Oct 1996 22:37:58 -0700 (PDT) Received: (from root@localhost) by dyson.iquest.net (8.8.2/8.6.9) id AAA00161; Wed, 23 Oct 1996 00:37:01 -0500 (EST) From: "John S. Dyson" Message-Id: <199610230537.AAA00161@dyson.iquest.net> Subject: Re: Virtual memory question: map first page? To: johnson@charming.nrtc.northrop.com Date: Wed, 23 Oct 1996 00:37:00 -0500 (EST) Cc: questions@FreeBSD.ORG In-Reply-To: <9610230515.AA02752@charming.nrtc.northrop.com> from "johnson@charming.nrtc.northrop.com" at Oct 22, 96 10:14:59 pm Reply-To: dyson@FreeBSD.ORG X-Mailer: ELM [version 2.4 PL24 ME8] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > Is it possible to map the first page of linear memory? What I would like > to be able to do is set up a process in which linear addresses starting > at 0 are mapped. > Should be. > When I modified imgact_aout.c to map the first linear page of memory as > an experiment, and then ran a specially cooked executable to exercise that > code, the machine immediately hung. > > Is there something special on the first linear page of a user process? > The only thing that I know of (off the top), and I might be corrected, is that the first physical page is "special", but the first virtual page should be safe... (Specifically, there is an architectural bug in the pmap code "today" that disables use of physical page 0.) That bug is probably not long for the world though. John