Go to the documentation of this file.00001
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052 #if !defined(STD_H)
00053 #define STD_H
00054
00055 #if defined(SYSLINK_BUILD_RTOS)
00056 #include <xdc/std.h>
00057 #else
00058
00059 #ifdef SYSLINK_BUILDOS_LINUX
00060 #if defined (__KERNEL__)
00061 #include <ti/syslink/inc/knl/Linux/std_linux.h>
00062 #else
00063 #include <ti/syslink/inc/usr/Linux/std_linux.h>
00064 #endif
00065 #elif defined(SYSLINK_BUILDOS_QNX)
00066 #include <ti/syslink/inc/knl/Qnx/std_qnx.h>
00067 #endif
00068
00069 #if defined (__cplusplus)
00070 extern "C" {
00071 #endif
00072
00073 #define Void void
00074
00075 typedef char Char;
00076 typedef unsigned char UChar;
00077 typedef short Short;
00078 typedef unsigned short UShort;
00079 typedef int Int;
00080 typedef unsigned int UInt;
00081 typedef long Long;
00082 typedef unsigned long ULong;
00083 typedef float Float;
00084 typedef double Double;
00085 typedef long double LDouble;
00086
00087
00088 typedef unsigned short Bool;
00089 typedef void * Ptr;
00090 typedef char * String;
00091 typedef const char * CString;
00092
00093
00094 typedef int * IArg;
00095 typedef unsigned int * UArg;
00096 typedef char Int8;
00097 typedef short Int16;
00098 typedef int Int32;
00099
00100 typedef unsigned char UInt8;
00101 typedef unsigned short UInt16;
00102 typedef unsigned int UInt32;
00103 typedef unsigned int SizeT;
00104 typedef unsigned char Bits8;
00105 typedef unsigned short Bits16;
00106 typedef UInt32 Bits32;
00107
00108 #ifdef SYSLINK_BUILDOS_QNX
00109 typedef void * HANDLE;
00110 typedef unsigned int atomic_t;
00111 typedef unsigned long ULONG;
00112 typedef unsigned long DWORD;
00113 typedef unsigned int uint;
00114 typedef unsigned int UINT32;
00115 typedef unsigned short bool;
00116 #endif
00117
00118 #define TRUE 1
00119 #define FALSE 0
00120
00122 typedef UInt32 Error_Block;
00123
00125 #define Error_init(eb) *eb = 0
00126
00127 #endif
00128
00129
00130 #if defined (__cplusplus)
00131 }
00132 #endif
00133
00134 #endif
00135