00001 00009 /* 00010 * ============================================================================ 00011 * 00012 * Copyright (c) 2008-2009, Texas Instruments Incorporated 00013 * 00014 * Redistribution and use in source and binary forms, with or without 00015 * modification, are permitted provided that the following conditions 00016 * are met: 00017 * 00018 * * Redistributions of source code must retain the above copyright 00019 * notice, this list of conditions and the following disclaimer. 00020 * 00021 * * Redistributions in binary form must reproduce the above copyright 00022 * notice, this list of conditions and the following disclaimer in the 00023 * documentation and/or other materials provided with the distribution. 00024 * 00025 * * Neither the name of Texas Instruments Incorporated nor the names of 00026 * its contributors may be used to endorse or promote products derived 00027 * from this software without specific prior written permission. 00028 * 00029 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 00030 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 00031 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 00032 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 00033 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 00034 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 00035 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 00036 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 00037 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 00038 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 00039 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 00040 * Contact information for paper mail: 00041 * Texas Instruments 00042 * Post Office Box 655303 00043 * Dallas, Texas 75265 00044 * Contact information: 00045 * http://www-k.ext.ti.com/sc/technical-support/product-information-centers.htm? 00046 * DCMP=TIHomeTracking&HQS=Other+OT+home_d_contact 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 /* #if defined(SYSLINK_BUILD_RTOS) */ 00058 00059 #ifdef SYSLINK_BUILDOS_LINUX 00060 #include <std_linux.h> 00061 #endif 00062 00063 #if defined (__cplusplus) 00064 extern "C" { 00065 #endif 00066 00067 typedef char Char; 00068 typedef unsigned char UChar; 00069 typedef short Short; 00070 typedef unsigned short UShort; 00071 typedef int Int; 00072 typedef unsigned int UInt; 00073 typedef long Long; 00074 typedef unsigned long ULong; 00075 typedef float Float; 00076 typedef double Double; 00077 typedef long double LDouble; 00078 typedef void Void; 00079 00080 00081 typedef unsigned short Bool; 00082 typedef void * Ptr; /* data pointer */ 00083 typedef char * String; /* null terminated string */ 00084 00085 00086 typedef int * IArg; 00087 typedef unsigned int * UArg; 00088 typedef char Int8; 00089 typedef short Int16; 00090 typedef int Int32; 00091 00092 typedef unsigned char UInt8; 00093 typedef unsigned short UInt16; 00094 typedef unsigned int UInt32; 00095 typedef unsigned int SizeT; 00096 typedef unsigned char Bits8; 00097 typedef unsigned short Bits16; 00098 typedef UInt32 Bits32; 00099 00100 #define TRUE 1 00101 #define FALSE 0 00102 00104 typedef UInt32 Error_Block; 00105 00107 #define Error_init(eb) *eb = 0 00108 00109 #endif /* #if defined(SYSLINK_BUILD_RTOS) */ 00110 00111 00112 #if defined (__cplusplus) 00113 } 00114 #endif 00115 00116 #endif 00117