From owner-freebsd-arch Fri Jan 11 3: 0:13 2002 Delivered-To: freebsd-arch@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 02FD637B416 for ; Fri, 11 Jan 2002 03:00:11 -0800 (PST) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id WAA29892; Fri, 11 Jan 2002 22:00:04 +1100 Date: Fri, 11 Jan 2002 22:00:45 +1100 (EST) From: Bruce Evans X-X-Sender: To: Thomas Moestl Cc: Subject: Re: adding more endian conversion and bus space functions In-Reply-To: <20020111005207.GA7246@crow.dom2ip.de> Message-ID: <20020111215209.V1119-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 11 Jan 2002, Thomas Moestl wrote: > I would also like to make most of the machine/endian.h files MI, as > sys/endian.h. The only thing that the MD files would still contain are > the definintion of BYTE_ORDER and inline implementations of some > functions. sys/endian.h would implemented the interfaces listed in 1. > as well as htonl and friends for both BYTE_ORDERs. Mike Barcroft is doing this. IIRC, it doesn't have , since the ntohl() family is declared in according to POSIX, so would be neither standard no useful. I think the bus space headers should not depend on any endianness support in other headers except defining _[_]BYTE_ORDER. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message