Home | History | Annotate | Download | only in include
History log of /src/sys/arch/vax/include/endian.h
RevisionDateAuthorComments
 1.17  17-Mar-2000  mycroft In the `MY THAT'S GROSS' department...
Eliminate the recursive include of machine/endian.h from sys/endian.h.
 1.16  16-Mar-2000  mycroft Foolish consistency. Mainly, always use underscores and sys/endian.h.
 1.15  21-Aug-1999  simonb branches: 1.15.2;
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.
 1.14  24-Jan-1999  mycroft Mark [hn]to[nh][ls]() with __const__, so they are subject to CSE.
 1.13  15-Jan-1999  bouyer 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.
 1.12  16-Dec-1998  kleink 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>.
 1.11  07-Nov-1998  ragge EGCS fixes. Implement htons as a C macro instead of asm; generates as
good code as the asm implementation _and_ can be optimized.
 1.10  08-Aug-1998  ragge Lots of kernlib functions rewritten as inline macros.
 1.9  09-Oct-1997  bouyer 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.
 1.8  13-Oct-1996  christos branches: 1.8.10;
use in_addr_t and in_port_t
 1.7  08-Apr-1996  ragge Added prototypes to everything. Made all files compile with -Wall.
 1.6  21-Aug-1995  ragge Bug fix in byte_swap_word(); didn't always make it.
 1.5  05-Jul-1995  ragge nton?/ntoh? moved to endian.h.
 1.4  28-Mar-1995  jtc KERNEL -> _KERNEL
 1.3  13-Feb-1995  ragge Lots of fixes...
 1.2  26-Oct-1994  cgd new RCS ID format.
 1.1  02-Aug-1994  ragge branches: 1.1.2;
Initial VAX port merging.
 1.1.2.2  02-Aug-1994  ragge Initial VAX port merging.
 1.1.2.1  02-Aug-1994  ragge file endian.h was added on branch netbsd-1-0 on 1994-08-02 20:20:18 +0000
 1.8.10.1  14-Oct-1997  thorpej Update marc-pcmcia branch from trunk.
 1.15.2.1  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.

RSS XML Feed