summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/i960/rxgen960/startup/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/i960/rxgen960/startup/types.h')
-rw-r--r--c/src/lib/libbsp/i960/rxgen960/startup/types.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/i960/rxgen960/startup/types.h b/c/src/lib/libbsp/i960/rxgen960/startup/types.h
new file mode 100644
index 0000000000..190bb027c1
--- /dev/null
+++ b/c/src/lib/libbsp/i960/rxgen960/startup/types.h
@@ -0,0 +1,34 @@
+/* Type definitions for our use */
+#ifndef __TYPES_H
+#define __TYPES_H
+typedef unsigned char u8;
+typedef unsigned int u32;
+typedef unsigned short u16;
+typedef unsigned char uchar;
+typedef unsigned int Int32;
+typedef unsigned short Int16;
+typedef unsigned char Int8;
+typedef unsigned int u_int;
+typedef unsigned int u_long;
+typedef unsigned short u_short;
+typedef unsigned char u_char;
+#ifndef NULL
+#define NULL 0
+#endif
+#ifndef TRUE
+#define TRUE 1
+#endif
+#ifndef FALSE
+#define FALSE 0
+#endif
+/*
+ * Definitions of unsigned amounts
+ */
+#define ub Int8
+#define uw Int16
+#define ul Int64
+#define sl long
+#define ui Int32
+
+
+#endif