Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jan 2002 13:48:53 +0600 (ALMT)
From:      Boris Popov <bp@butya.kz>
To:        Thomas Moestl <tmoestl@gmx.net>
Cc:        freebsd-arch@FreeBSD.org
Subject:   Re: adding more endian conversion and bus space functions
Message-ID:  <Pine.BSF.4.21.0201111344050.91845-100000@lion.butya.kz>
In-Reply-To: <20020111005207.GA7246@crow.dom2ip.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 11 Jan 2002, Thomas Moestl wrote:

> I'd like to propose some additions to the kernel endian conversion and
> bus space functions to aid the sparc64 port, taken from NetBSD:
[skip]
> 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.

	Good idea. Please also take a look at sys/mchain.h file where such
macros currently misplaced (and misnamed) to make sure that the existing
code will use new inlines/macros. netsmb and smbfs code also depends on
the above file.

-- 
Boris Popov
http://rbp.euro.ru


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0201111344050.91845-100000>