00001
00002
00003
00004
00044
00045
00046 #ifndef __GLOBAL_TYPES_H__
00047 #define __GLOBAL_TYPES_H__
00048
00049
00050
00051
00052
00053 #if defined(__powerpc__) || defined(__m68k__)
00054 #define VMEALIGN_1 __attribute__ ((aligned(1)))
00055 #define VMEALIGN_2 __attribute__ ((aligned(2)))
00056 #define VMEALIGN_4 __attribute__ ((aligned(4)))
00057 #define VMEALIGN_8 __attribute__ ((aligned(4)))
00058 #else
00059 #define VMEALIGN_1
00060 #define VMEALIGN_2
00061 #define VMEALIGN_4
00062 #define VMEALIGN_8
00063 #endif
00064
00065
00066
00067
00068
00069 typedef signed char SByte VMEALIGN_1;
00070 typedef unsigned char UByte VMEALIGN_1;
00071
00072
00073
00074
00075 typedef signed short SWord VMEALIGN_2;
00076 typedef unsigned short UWord VMEALIGN_2;
00077
00078
00079
00080
00081 #ifdef __x86_64__
00082 typedef signed int SLong VMEALIGN_4;
00083 typedef unsigned int ULong VMEALIGN_4;
00084 #else
00085 typedef signed long SLong VMEALIGN_4;
00086 typedef unsigned long ULong VMEALIGN_4;
00087 #endif
00088
00089
00090
00091
00092 typedef signed long long SOcta VMEALIGN_8;
00093
00094
00095
00096
00097 typedef float Float32 VMEALIGN_4;
00098 typedef double Float64 VMEALIGN_8;
00099
00100
00101
00102
00103
00104
00105
00106
00107
00108 #ifndef __VMS
00109 typedef int Boolean VMEALIGN_4;
00110 #endif
00111
00112 #ifndef TRUE
00113 #define TRUE (1)
00114 #endif
00115
00116 #ifndef FALSE
00117 #define FALSE (0)
00118 #endif
00119
00120
00121 #endif