Subject: Re: port-mac68k/32583: mac68k netbsd-2 panics during rcp(1)
To: None <firstname.lastname@example.org>
From: Dave Huang <email@example.com>
Date: 01/20/2006 16:31:49
On Fri, Jan 20, 2006 at 03:39:15PM -0600, Dave Huang wrote:
> Hmm, so bus_space_set_region_2() is being called with a count argument
> of 0? (the last argument). The bus_space(9) manpage mentions,
> "Functions which take a count of bytes have undefined results if the
> specified count is zero," and mac68k's implementation treats a count
> of 0 as being 2^32.
Actually, I just noticed that bus_space_set_region_2() is a macro that
checks for a 0 count, and only calls the actual function
(mac68k_bssr2()) if count is non-zero. In which case, I don't know why
mac68k_bssr2() is getting called with a 0 count.