Subject: Re: CVS commit: src/sys/arch/xen/xen
To: Matthew Orgass <darkstar@city-net.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-i386
Date: 03/28/2005 12:46:10
On Sun, Mar 27, 2005 at 06:36:06PM -0500, Matthew Orgass wrote:
> On 2005-03-27 bouyer@antioche.eu.org wrote:
> 
> > Then we badly need to define theses, yes. And maybe refine the
> > bus_space_barrier() too ? From sparc64/bus.h:
> >         /*
> >          * We have a bit of a problem with the bus_space_barrier()
> >          * interface.  It defines a read barrier and a write barrier
> >          * which really don't map to the 7 different types of memory
> >          * barriers in the SPARC v9 instruction set.
> >          */
> >
> > So just "BUS_SPACE_BARRIER_READ/WRITE" isn't enouth :)
> 
>   The man page documents BARRIER_{READ,WRITE}_BEFORE_{READ,WRITE} and
> BARRIER_SYNC, but no port implements them last time I checked.

I didn't check the man page. sparc64 doesn't even define the flags
required by the interface :(

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--