Subject: Re: Adding bus_space_{peek,poke}_N() to bus_space(9)
To: Allen Briggs <briggs@wasabisystems.com>
From: Steve Woodford <scw@netbsd.org>
List: tech-kern
Date: 11/22/2000 19:07:52
On Wed, 22 Nov 2000, Allen Briggs wrote:

> mac68k already has the following:
> [snip]
> It does a "badaddr()"-like call for the specified bus_space access
> (where sz is 1, 2, or 4).  It returns 1 if the access is successful
> as 0 if it generates a bus error.  I think this is almost the same
> thing that you're after.

Yes, as does hp300. The MD implementations of bus_space_{peek,poke}_N()
will likely be pretty much the same as that and mac68k.

Cheers, Steve