History log of /src/sys/arch/sparc/include/endian.h |
Revision | | Date | Author | Comments |
1.13 |
| 17-Mar-2000 |
mycroft | In the `MY THAT'S GROSS' department... Eliminate the recursive include of machine/endian.h from sys/endian.h.
|
1.12 |
| 16-Mar-2000 |
mycroft | Foolish consistency. Mainly, always use underscores and sys/endian.h.
|
1.11 |
| 21-Aug-1999 |
simonb | branches: 1.11.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.10 |
| 24-Jan-1999 |
mycroft | Mark [hn]to[nh][ls]() with __const__, so they are subject to CSE.
|
1.9 |
| 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.8 |
| 31-Jul-1998 |
mycroft | (Always) (practice) (safe) (macro expansion).
|
1.7 |
| 09-Oct-1997 |
bouyer | branches: 1.7.4; 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.6 |
| 11-Oct-1996 |
christos | branches: 1.6.10; add in_addr_t and in_port_t
|
1.5 |
| 14-Aug-1996 |
thorpej | Back out previous; this is a bigger problem than I expected.
|
1.4 |
| 14-Aug-1996 |
thorpej | The htonl(), htons(), etc. functions return u_long and u_short. Add casts to the big-endian versions of these calls so that the compiler won't complain when they're passed as arguments to printf().
|
1.3 |
| 13-Feb-1996 |
christos | - Fix setcxsegmap prototype. - Cast ?TO? macros to NULL to avoid compiler warnings
|
1.2 |
| 20-Nov-1994 |
deraadt | copyright/Id cleanup
|
1.1 |
| 10-Oct-1993 |
deraadt | need these
|
1.6.10.1 |
| 14-Oct-1997 |
thorpej | Update marc-pcmcia branch from trunk.
|
1.7.4.1 |
| 08-Aug-1998 |
eeh | Revert cdevsw mmap routines to return int.
|
1.11.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.
|