From owner-cvs-all Wed Oct 18 14:29:30 2000 Delivered-To: cvs-all@freebsd.org Received: from mass.osd.bsdi.com (termroom.bsdcon.org [206.55.247.2]) by hub.freebsd.org (Postfix) with ESMTP id 66C9F37B4C5; Wed, 18 Oct 2000 14:29:25 -0700 (PDT) Received: from mass.osd.bsdi.com (localhost [127.0.0.1]) by mass.osd.bsdi.com (8.11.0/8.9.3) with ESMTP id e9ILW0h00958; Wed, 18 Oct 2000 14:32:00 -0700 (PDT) (envelope-from msmith@mass.osd.bsdi.com) Message-Id: <200010182132.e9ILW0h00958@mass.osd.bsdi.com> X-Mailer: exmh version 2.1.1 10/15/1999 To: mjacob@feral.com Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/i386/include bus_at386.h bus_pc98.h src/sys/ia64/include bus.h src/sys/alpha/include bus.h In-reply-to: Your message of "Wed, 18 Oct 2000 08:40:05 PDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 18 Oct 2000 14:32:00 -0700 From: Mike Smith Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > From the point of view of multiple platform architectures, are the semantics > of these guaranteed to include synchronization wrt I/O devices? These are semantically equivalent to the bus_space_barrier() operations applied to a bus space that represents system memory. ie. no, they don't. You should use bus_space_barrier() against the bus space(s) your peripheral occupies. (Yeah, this is a bit of overkill...) > > On Wed, 18 Oct 2000, John Baldwin wrote: > > > jhb 2000/10/18 03:30:12 PDT > > > > Modified files: > > sys/i386/include bus_at386.h bus_pc98.h > > sys/ia64/include bus.h > > sys/alpha/include bus.h > > Log: > > Add in a simple API for memory barriers to machine/bus.h: > > - barrier_read() enforces a memory read barrier > > - barrier_write() enforces a memory write barrier > > - barrier_rw() enforces a memory read/write barrier > > > > Revision Changes Path > > 1.11 +24 -1 src/sys/i386/include/bus_at386.h > > 1.12 +24 -1 src/sys/i386/include/bus_pc98.h > > 1.2 +23 -1 src/sys/ia64/include/bus.h > > 1.7 +13 -1 src/sys/alpha/include/bus.h > > > > > > > -- ... every activity meets with opposition, everyone who acts has his rivals and unfortunately opponents also. But not because people want to be opponents, rather because the tasks and relationships force people to take different points of view. [Dr. Fritz Todt] V I C T O R Y N O T V E N G E A N C E To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message