Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Aug 2008 11:56:17 -0500
From:      Nathan Whitehorn <nwhitehorn@freebsd.org>
To:        Matt Sealey <matt@genesi-usa.com>
Cc:        ppc@freebsd.org, vi0@freebsd.org
Subject:   Re: Efika OF problems
Message-ID:  <48AAFB31.4010702@freebsd.org>
In-Reply-To: <48AAEFC6.1050205@genesi-usa.com>
References:  <4810C7A2.40206@semihalf.com> <4811C774.9000407@genesi-usa.com>	<4826CEA9.7020705@semihalf.com> <4827A9A0.3030102@genesi-usa.com>	<48AAED83.1090403@semihalf.com> <48AAEFC6.1050205@genesi-usa.com>

index | next in thread | previous in thread | raw e-mail

Matt Sealey wrote:
> There are two problems with OF calls in FreeBSD; one is that FreeBSD 
> has no
> support for a "real mode" Open Firmware - Apple's runs in "virtual mode"
> which means it has all kinds of MMU stuff set up.
>
> Solaris had the same problem and Sun fixed it by implementing a slim 
> "VOF"
> on top of our real OF, which implemented the virtual mode stuff.
>
> There is very, very little point in addressing this issue in firmware and
> implementing virtual addressing inside firmware, as OF client calls are
> stupidly slow. What you need to do is get it up and running and get 
> all the
> OF stuff *well* out of the way *well* before any MMU stuff is set up by
> the OS itself.
>
> NetBSD manages it somehow, I don't know how. You could have a chat with
> Frank Wille.. (see the port-ofppc@netbsd.org list)
We badly need a solution to this problem. I think the VOF route might 
not be a bad one for machines with hard-to-use firmwares -- we support 
runtime-switchable Open Firmware interfaces already, and we need support 
for Linux FDTs as well.
-Nathan


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48AAFB31.4010702>