This website requires JavaScript.
Explore
Help
Register
Sign In
upstream
/
opnsense-src
Watch
1
Star
0
Fork
You've already forked opnsense-src
0
mirror of
https://github.com/opnsense/src.git
synced
2026-04-15 14:29:58 -04:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
Actions
7fcdc815d2
opnsense-src
/
sys
/
amd64
/
include
/
endian.h
7 lines
87 B
C
Raw
Normal View
History
Unescape
Escape
This is the start of the FreeBSD/x86_64 kernel.
2002-06-30 04:57:17 -04:00
/*-
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.
2012-02-28 14:39:54 -05:00
*
This
file
is
in
the
public
domain
.
This is the start of the FreeBSD/x86_64 kernel.
2002-06-30 04:57:17 -04:00
*/
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.
2012-02-28 14:39:54 -05:00
/* $FreeBSD$ */
This is the start of the FreeBSD/x86_64 kernel.
2002-06-30 04:57:17 -04:00
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.
2012-02-28 14:39:54 -05:00
#
include
<x86/endian.h>
Reference in a new issue
Copy permalink