History log of /netbsd-src/sys/arch/vax/include/endian.h (Results 1 – 17 of 17)
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 ...


# 1b6a24c1 16-Dec-1998 kleink <kleink@NetBSD.org>

Support for compound statements enclosed in parenthes to appear as
expressions is a GNU C extension; mark as such them with __extension__ to
suppress portability warnings. Addresses kern/3562 and mi

Support for compound statements enclosed in parenthes to appear as
expressions is a GNU C extension; mark as such them with __extension__ to
suppress portability warnings. Addresses kern/3562 and misc/6185, as suggested
by Dave Sainty <dave@dtsp.co.nz>.

show more ...


# b6158fa5 07-Nov-1998 ragge <ragge@NetBSD.org>

EGCS fixes. Implement htons as a C macro instead of asm; generates as
good code as the asm implementation _and_ can be optimized.


# 8fdb1c8e 08-Aug-1998 ragge <ragge@NetBSD.org>

Lots of kernlib functions rewritten as inline macros.


# 6ab3092b 09-Oct-1997 bouyer <bouyer@NetBSD.org>

Add byte-swapping functions (bswap16, bswap32, bswap64) to libkern.
Only assembly version for i386 bswap16 and bswap32 for now (bswap64 uses
bswap32). Contribution of assembly versions of these are w

Add byte-swapping functions (bswap16, bswap32, bswap64) to libkern.
Only assembly version for i386 bswap16 and bswap32 for now (bswap64 uses
bswap32). Contribution of assembly versions of these are welcome.
Add byte-swapping of ext2fs metadata for big-endian systems.
Tested on i386 and sparc.

show more ...


# 16b74d2c 13-Oct-1996 christos <christos@NetBSD.org>

use in_addr_t and in_port_t


# a24af7a7 08-Apr-1996 ragge <ragge@NetBSD.org>

Added prototypes to everything. Made all files compile with -Wall.


# ce63fbf5 21-Aug-1995 ragge <ragge@NetBSD.org>

Bug fix in byte_swap_word(); didn't always make it.


# 5ad69f2c 05-Jul-1995 ragge <ragge@NetBSD.org>

nton?/ntoh? moved to endian.h.


# 71ab4ed9 28-Mar-1995 jtc <jtc@NetBSD.org>

KERNEL -> _KERNEL


# 4fb1817e 13-Feb-1995 ragge <ragge@NetBSD.org>

Lots of fixes...


# d62187c0 26-Oct-1994 cgd <cgd@NetBSD.org>

new RCS ID format.


# 8026fb53 02-Aug-1994 ragge <ragge@NetBSD.org>

Initial VAX port merging.