Subject: Re: question about pmap_enter()
To: SUNAGAWA Keiki <kei_sun@ba2.so-net.ne.jp>
From: Allen Briggs <briggs@ninthwonder.com>
List: port-mac68k
Date: 06/08/1999 11:04:07
> Allen> They'll break on systems that don't have a Daystar
> Allen> installed.  Scott might have other ideas, but I see
> Allen> basically three approaches:
> Yup.  I wondered if there's the way to avoid the breakage.

With a little work, yes.

> Allen> [ In any of them, you'll have to probe for a Daystar
> Allen> by checking to see if a read to any of the memory
> Allen> locations generates a bus error. ]
> Is there an easy way to recoover from a bus error which was
> caused by Daystar checking?  It occurs in early stage of
> kernel boot strap, I don't know what to do here.

Yes.
Use something like what's in mac68k_bus_space_probe().
If you need more explanation, let me know.

-allen