This is Unofficial EPICS BASE Doxygen Site
osdWireConfig.h
Go to the documentation of this file.
1 /*
2  * vxWorks version of
3  * osdWireConfig.h
4  *
5  * Author Jeffrey O. Hill
6  * johill@lanl.gov
7  */
8 
9 #ifndef osdWireConfig_h
10 #define osdWireConfig_h
11 
12 #include <vxWorks.h>
13 #include <types/vxArch.h>
14 
15 #if _BYTE_ORDER == _LITTLE_ENDIAN
16 # define EPICS_BYTE_ORDER EPICS_ENDIAN_LITTLE
17 #elif _BYTE_ORDER == _BIG_ENDIAN
18 # define EPICS_BYTE_ORDER EPICS_ENDIAN_BIG
19 #else
20 # error EPICS hasnt been ported to _BYTE_ORDER specified by vxWorks <types/vxArch.h>
21 #endif
22 
23 /* for now, assume that vxWorks doesnt run on weird arch like ARM NWFP */
24 #define EPICS_FLOAT_WORD_ORDER EPICS_BYTE_ORDER
25 
26 #endif /* ifdef osdWireConfig_h */