History log of /netbsd-src/sys/arch/sparc64/include/endian.h (Results 1 – 7 of 7)
Revision Date Author Comments
# 9e21b655 17-Mar-2000 mycroft <mycroft@NetBSD.org>

In the `MY THAT'S GROSS' department...
Eliminate the recursive include of machine/endian.h from sys/endian.h.


# 02905321 16-Mar-2000 mycroft <mycroft@NetBSD.org>

Foolish consistency. Mainly, always use underscores and sys/endian.h.


# 3c185af5 21-Aug-1999 simonb <simonb@NetBSD.org>

Include <sys/endian.h> after defining whether where are little- or
big-endian. i386, pc532 and vax still include <machine/byte_swap.h>
and define macros for the {n,h}to{h,n}*() functions. mips also

Include <sys/endian.h> after defining whether where are little- or
big-endian. i386, pc532 and vax still include <machine/byte_swap.h>
and define macros for the {n,h}to{h,n}*() functions. mips also
defines some endian-independent assembly-code aliases for unaligned
memory accesses.

show more ...


# 897a8a7f 24-Jan-1999 mycroft <mycroft@NetBSD.org>

Mark [hn]to[nh][ls]() with __const__, so they are subject to CSE.


# dc306354 15-Jan-1999 bouyer <bouyer@NetBSD.org>

Move the bswap functions from libutil to libc (this bups the
minor of libc and the major of libutil). For little-endian architectures
merge the bnswap() assembly versions with nto* and hton* using sy

Move the bswap functions from libutil to libc (this bups the
minor of libc and the major of libutil). For little-endian architectures
merge the bnswap() assembly versions with nto* and hton* using symbols
aliasing. Use symbol renaming for the bswap function in this case to avoid
namespace pollution.
Declare bswap* in machine/bswap.h, not machine/endian.h. For little-endian
machines, common code for inline macros go in machine/byte_swap.h
Sync libkern with libc.
Adjust #include in kernel sources for machine/bswap.h.

show more ...


# a24dbc80 31-Jul-1998 mycroft <mycroft@NetBSD.org>

(Always) (practice) (safe) (macro expansion).


# 01e2e698 20-Jun-1998 eeh <eeh@NetBSD.org>

Import of sparc64.