summaryrefslogtreecommitdiffstats
path: root/sys/pc98/include
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2012-02-28 19:39:54 +0000
committertijl <tijl@FreeBSD.org>2012-02-28 19:39:54 +0000
commitbfd7a07500d59035447033f67bf7408d4150ce05 (patch)
tree797339aad41ccda256257eda513c3e84ca7ab3cb /sys/pc98/include
parent22eaf01bc1018e5e8eede316b67192f397d25000 (diff)
downloadFreeBSD-src-bfd7a07500d59035447033f67bf7408d4150ce05.zip
FreeBSD-src-bfd7a07500d59035447033f67bf7408d4150ce05.tar.gz
Copy amd64 endian.h to x86 and merge with i386 endian.h. Replace
amd64/i386/pc98 endian.h with stubs. In __bswap64_const(x) the conflict between 0xffUL and 0xffULL has been resolved by reimplementing the macro in terms of __bswap32(x). As a side effect __bswap64_var(x) is now implemented using two bswap instructions on i386 and should be much faster. __bswap32_const(x) has been reimplemented in terms of __bswap16(x) for consistency.
Diffstat (limited to 'sys/pc98/include')
-rw-r--r--sys/pc98/include/endian.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pc98/include/endian.h b/sys/pc98/include/endian.h
index 911c53e..2ad27a9 100644
--- a/sys/pc98/include/endian.h
+++ b/sys/pc98/include/endian.h
@@ -3,4 +3,4 @@
*/
/* $FreeBSD$ */
-#include <i386/endian.h>
+#include <x86/endian.h>
OpenPOWER on IntegriCloud