summaryrefslogtreecommitdiff
path: root/sys/arch/arc/include/endian.h
AgeCommit message (Collapse)Author
1999-05-10Use symbolic define for BYTE_ORDER.Marc Espie
(don't forget that cpp is `lazy': #define A B #define B value #if A == value works, since A isn't extended before it's needed, by which time B is known)
1997-11-10DOH! conflicts from meNiklas Hallqvist
1997-11-09New endian.h design. All architectures now use a common file for the bulkNiklas Hallqvist
part. Some ports can optimize the swap operations. This also means the general API is extended with swap16, swap32, htobe16, htobe32, betoh16, betoh32, htole16, htole32, letoh16 and letoh32.
1997-06-25Include usage notes in the rest of the endian.h files for consistancy.grr
1997-06-25Big endian HTON?() macros should be (void)(x).Jason Downs
1997-04-04Define in_addr_t and in_port_t everywhere but use u_intXX_t forTodd C. Miller
htonl and friends.
1996-11-25htons et al. works on explicit 16- and 32-bit quantities and not theNiklas Hallqvist
machine dependent "short" and "long" integer. Correct and enhance manpage. Change all short and longs to u_int16_t and u_int32_t, respectively. OpenBSD RCSIds
1996-06-24Next try. ARC tree import. "New" Mips (spim) ARC compliant systems tree.Per Fogelstrom
This tree will eventually suport viritualy all ARC compliant Mips systems, that is all we can lay our hands on for porting/testing. It will supersede the pica tree which will be removed shortly when this tree is functioning.