RTEMS Logo

RTEMS 4.9.3 On-Line Library


Miscellaneous Specifying Processor Endianness

PREV UP NEXT Bookshelf RTEMS Porting Guide

10.2.1: Specifying Processor Endianness

The CPU_BIG_ENDIAN and CPU_LITTLE_ENDIAN are set to specify the endian format used by this microprocessor. These macros should not be set to the same value. The following example illustrates how these macros should be set on a processor family that is big endian.

#define CPU_BIG_ENDIAN                           TRUE
#define CPU_LITTLE_ENDIAN                        FALSE

The CPU_MPCI_RECEIVE_SERVER_EXTRA_STACK macro is set to the amount of stack space above the minimum thread stack space required by the MPCI Receive Server Thread. This macro is needed because in a multiprocessor system the MPCI Receive Server Thread must be able to process all directives.

#define CPU_MPCI_RECEIVE_SERVER_EXTRA_STACK 0


PREV UP NEXT Bookshelf RTEMS Porting Guide

Copyright © 1988-2008 OAR Corporation