-On [20000124 19:55], Warner Losh ([EMAIL PROTECTED]) wrote:
>In message <[EMAIL PROTECTED]> Jeroen Ruigrok/Asmodai
>writes:
>: >As long as a device is just inb/outb (I seem to recall newbus have a
>: >replacement for these)
>:
>: bus_space_read_#() / bus_space_write_#()
>:
>: Where # is 1, 2, 4, or 8. But I don't think we support atomic 8 byte
>: atomic reads and writes.
>
>It isn't so much that "we" don't support atomic 8 byte operations, it
>is that the busses and cpus don't support these operations...
Sorry, mea culpa. It's just that I have been shifting back and forth
between NetBSD and FreeBSD and that I see they have
bus_space_[read|write]_8 defined and we don't.
So my statement was actually more in reflection to NetBSD's support of
it. Whether or not they support busses which do 8 byte atomic
reads/writes I am not sure of.
Thanks for the reality adjustment Warner. =)
--
Jeroen Ruigrok vd W/Asmodai asmodai@[wxs.nl|bart.nl|freebsd.org]
Documentation nutter/B-rated Coder BSD: Technical excellence at its best
The BSD Programmer's Documentation Project <http://home.wxs.nl/~asmodai>
Woe to the vanquished!
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message