Changeset 479f4eb in rtems-libbsd


Ignore:
Timestamp:
Jul 11, 2012, 10:33:09 PM (7 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, fd86c091b97759106da7355ce1dd81ebe030e285, freebsd-9.3, f020f08430150c1656a0ad0a1de13699db9b980b
Children:
822aae2c
Parents:
028aaaf
Message:

Add _XXX_ENDIAN constants

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rtemsbsd/freebsd/machine/endian.h

    r028aaaf r479f4eb  
    5353#include <rtems/endian.h>
    5454
     55#define _LITTLE_ENDIAN  1234    /* LSB first: i386, vax */
     56#define _BIG_ENDIAN     4321    /* MSB first: 68000, ibm, net */
     57#define _PDP_ENDIAN     3412    /* LSB first in word, MSW first in long */
     58
    5559#if CPU_BIG_ENDIAN
    5660# define _BYTE_ORDER _BIG_ENDIAN
Note: See TracChangeset for help on using the changeset viewer.