From owner-freebsd-alpha Wed Jun 3 14:38:55 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA08887 for freebsd-alpha-outgoing; Wed, 3 Jun 1998 14:38:55 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from dyson.iquest.net (dyson.iquest.net [198.70.144.127]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA08869 for ; Wed, 3 Jun 1998 14:38:52 -0700 (PDT) (envelope-from toor@dyson.iquest.net) Received: (from root@localhost) by dyson.iquest.net (8.8.8/8.8.8) id QAA00439; Wed, 3 Jun 1998 16:38:19 -0500 (EST) (envelope-from toor) Message-Id: <199806032138.QAA00439@dyson.iquest.net> Subject: Re: future of slpha port In-Reply-To: from Doug Rabson at "Jun 3, 98 08:56:36 pm" To: dfr@nlsystems.com (Doug Rabson) Date: Wed, 3 Jun 1998 16:38:19 -0500 (EST) Cc: mjacob@feral.com, jb@cimlogic.com.au, jbarbee@singular.com, freebsd-alpha@FreeBSD.ORG From: "John S. Dyson" Reply-To: dyson@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Doug Rabson said: > On Tue, 2 Jun 1998, Matthew Jacob wrote: > > > Yes, I'd like to actually finally say that it's a great shame > > that FreeBSD and NetBSD are different efforts- the NetBSD alpha > > effort is in quite good shape- and I've been somewhat reluctant > > to try and duplicate this for FreeBSD. Is there any way the > > FreeBSD port can import the extremely solid NetBSD/alpha work? > > I have drawn very heavily on NetBSD in my porting efforts so far. Much of > the code in locore.s could be used unchanged or with small modifications. > I am using a pmap ported from FreeBSD/i386 however since I don't really > understand the differences in the pmap/vm interface between NetBSD and > FreeBSD. > There are alot of minor differences. The biggest ones are the temporary kernel mappings, and the implementation of pte preloading. Some of the opts aren't very useful for TLB based machines, but some are. The biggest issue is whether or not you want to emulate a referenced bit. If you get it working without referenced bit emulation, I can provide you a few minor mods to the upper level code to make the system work correctly (under load) without them. After that, I'll likely be able to participate with you on a better implementation. (I know that the Alpha PALcode provides a page table interface, I forget if they provide a reference bit emulation.) To help, soon, I can probably look at the NetBSD/Alpha pmap code, and see how compatible they are with our pmap interface. We really do not have to support all entry points, and some that we do support aren't really needed for functionality. (I'll print out a copy for offline reference right away, and look at it.) After looking at the NetBSD Alpha/pmap code, I'll be able to be more coherent in my comments. -- John | Never try to teach a pig to sing, dyson@freebsd.org | it just makes you look stupid, jdyson@nc.com | and it irritates the pig. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message