From owner-freebsd-alpha Wed May 8 6:31:36 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from mail.speakeasy.net (mail17.speakeasy.net [216.254.0.217]) by hub.freebsd.org (Postfix) with ESMTP id 87AD937B404 for ; Wed, 8 May 2002 06:31:31 -0700 (PDT) Received: (qmail 8416 invoked from network); 8 May 2002 13:31:30 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail17.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 8 May 2002 13:31:30 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g48DVTF33363; Wed, 8 May 2002 09:31:29 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <15577.7766.160517.751366@grasshopper.cs.duke.edu> Date: Wed, 08 May 2002 09:31:23 -0400 (EDT) From: John Baldwin To: Andrew Gallatin Subject: Re: *bsd on srm-less alpha's Cc: freebsd-alpha@FreeBSD.ORG Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 08-May-2002 Andrew Gallatin wrote: > > John Baldwin writes: > > > > On 08-May-2002 Terry Lambert wrote: > > > Wilko Bulte wrote: > > >> On Tue, May 07, 2002 at 10:36:39AM -0700, David O'Brien wrote: > > >> > On Tue, May 07, 2002 at 04:34:48PM +0200, Mark Santcroos wrote: > > >> > > My goal is to first get a kernel running on a modified milo and > after > > >> > > that > > >> > > to create a selfhosted bsd loader. > > >> > > > >> > There has been some work on this -- see /sys/boot/arc/ > > >> > > >> But be prepared to have a lot of work to do yourself. > > > > > > Particularly in the VM system. With different microcode, you > > > get digfferent machine instructions. FreeBSD relies on a > > > number of instructions which act a particular way because they > > > are implemented in the SRM that way. > > > > Umm, we use instructions from PALcode, not from SRM. Now I think SRM > > contains certain versions of PALcode (VMS and Unix ones) whereas the > > ARC stuff uses the NT PALcode. You would need to change more than VM > > though. PAL is used for context switching and for enable/disable > > interrupts, etc. > > He's talking about using MILO, which, at least as of 2.1.13, uses the > OSF PALcode. What nobody knows is if the PALcode in milo is close > enough to the "real" OSF PALcode used by the SRM for it to be usable > by FreeBSD. It certainly seems close, as it has the text "SRM" and > "OSF" littered all over it. Ah, if it's OSF-compatible PALcode then it should just work. > Now, I've heard various people talk about how we need certain VM > related PALcode functions that aren't avalable in the MILO palcode, > However, nobody has mentioned exactly which function this is, and I > think this might be an urban legend. Hmm, there are no vm instructions so the only VM bits I can think of would be intrepreting the way the page tables are laid out. > I do agree that getting this to work just isn't worth the time and effort. Well, if someone doesn't have anything else to do they can do it, but I won't be working on it. :) > Drew -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message