Date: Fri, 28 Feb 2003 08:25:25 -0500 From: Mike Barcroft <mike@FreeBSD.org> To: Nate Lawson <njl@FreeBSD.org> Cc: marcel@xcllnt.net, current@FreeBSD.ORG, hackers@FreeBSD.ORG Subject: Re: 64 bit endian routines Message-ID: <20030228082525.H93968@espresso.bsdmike.org> In-Reply-To: <200302280445.h1S4jifs099792@freefall.freebsd.org>; from njl@FreeBSD.org on Thu, Feb 27, 2003 at 08:45:44PM -0800 References: <20030228041849.GB813@athlon.pn.xcllnt.net> <200302280445.h1S4jifs099792@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Nate Lawson <njl@FreeBSD.org> writes: > Both scsi and geom implement unaligned access functions that perform byte > ordering. I never intended to supplant them with __bswap*(). What I want > is for machine/endian.h to have functions that provide 16-64 bit endian > conversions in both aligned and unaligned access forms. After these functions > are there, I'd like us to unify use of them and remove driver-private > versions. Sounds good, though <sys/endian.h> would be more appropriate unless they're MD. Best regards, Mike Barcroft To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030228082525.H93968>