Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jan 2000 19:58:03 +0100
From:      Jeroen Ruigrok/Asmodai <asmodai@wxs.nl>
To:        Warner Losh <imp@village.org>
Cc:        "Daniel C. Sobral" <dcs@newsguy.com>, Bill Maniatty <maniattb@cs.rpi.edu>, FreeBSD-doc@FreeBSD.ORG, maniatty@cs.albany.edu, freebsd-hackers@FreeBSD.ORG, Greg Lehey <grog@lemis.com>
Subject:   Re: Learning the FreeBSD Kernel
Message-ID:  <20000124195803.C4731@daemon.ninth-circle.org>
In-Reply-To: <200001241826.LAA04800@harmony.village.org>; from imp@village.org on Mon, Jan 24, 2000 at 11:26:57AM -0700
References:  <20000124161640.F691@daemon.ninth-circle.org> <200001231648.LAA53658@cs.rpi.edu> <388C0FED.706330D0@newsguy.com> <20000124161640.F691@daemon.ninth-circle.org> <200001241826.LAA04800@harmony.village.org>

next in thread | previous in thread | raw e-mail | index | archive | help
-On [20000124 19:55], Warner Losh (imp@village.org) wrote:
>In message <20000124161640.F691@daemon.ninth-circle.org> 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 majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




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