Date: Wed, 08 May 2002 09:31:23 -0400 (EDT) From: John Baldwin <jhb@FreeBSD.org> To: Andrew Gallatin <gallatin@cs.duke.edu> Cc: freebsd-alpha@FreeBSD.ORG Subject: Re: *bsd on srm-less alpha's Message-ID: <XFMail.20020508093123.jhb@FreeBSD.org> In-Reply-To: <15577.7766.160517.751366@grasshopper.cs.duke.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <jhb@FreeBSD.org> <>< 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20020508093123.jhb>