diff options
author | jhb <jhb@FreeBSD.org> | 2004-11-16 20:42:32 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2004-11-16 20:42:32 +0000 |
commit | cc03c9de7d057c1fb843aa928c6c607a3c775700 (patch) | |
tree | 675ab00de5628f598aa1773d0c714a0300dafb2d /sys/i386/include/endian.h | |
parent | 5437b62b67fb9d20d8eed546b0e7fb9a776c10b6 (diff) | |
download | FreeBSD-src-cc03c9de7d057c1fb843aa928c6c607a3c775700.zip FreeBSD-src-cc03c9de7d057c1fb843aa928c6c607a3c775700.tar.gz |
Initiate deorbit burn sequence for 80386 support in FreeBSD: Remove
80386 (I386_CPU) support from the kernel.
Diffstat (limited to 'sys/i386/include/endian.h')
-rw-r--r-- | sys/i386/include/endian.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/sys/i386/include/endian.h b/sys/i386/include/endian.h index 6cc225c..13d596a 100644 --- a/sys/i386/include/endian.h +++ b/sys/i386/include/endian.h @@ -98,20 +98,10 @@ __extension__ ({ register __uint32_t __X = (x); \ #endif /* __OPTIMIZE__ */ -#if defined(_KERNEL) && (defined(I486_CPU) || defined(I586_CPU) || defined(I686_CPU)) && !defined(I386_CPU) - #define __byte_swap_int_var(x) \ __extension__ ({ register __uint32_t __X = (x); \ __asm ("bswap %0" : "+r" (__X)); \ __X; }) -#else - -#define __byte_swap_int_var(x) \ -__extension__ ({ register __uint32_t __X = (x); \ - __asm ("xchgb %h0, %b0\n\trorl $16, %0\n\txchgb %h0, %b0" \ - : "+q" (__X)); \ - __X; }) -#endif #ifdef __OPTIMIZE__ |