This website requires JavaScript.
Explore
Help
Sign In
d
/
freebsd-skq
Watch
1
Star
0
Fork
0
You've already forked freebsd-skq
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
4b1222a215
freebsd-skq
/
sys
/
pc98
/
include
/
endian.h
7 lines
87 B
C
Raw
Normal View
History
Unescape
Escape
Add reach-over include files to read i386/foo.h. In time, the pc98 specific code will migrate to these files to augment or replace the version in i386/include and/or i386/linux. This should, in the fullness of time, allow many of the #ifdef PC98 in the tree. # These files are in the public domain because there is insufficient # creative content in them. When you customize them, please add a # copyright notice and license. OK'd in principle by: nyan@
2005-04-01 23:19:43 +00:00
/*-
*
This
file
is
in
the
public
domain
.
*/
/* $FreeBSD$ */
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 19:39:54 +00:00
#
include
<x86/endian.h>
Reference in New Issue
Copy Permalink