comparison nuc-fw/nucleus/nucleus.h @ 119:dd56546ad9e0

starting to compile RVF
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Wed, 30 Oct 2013 23:19:21 +0000
parents 947b1f473960
children
comparison
equal deleted inserted replaced
118:21de8d8e6ea7 119:dd56546ad9e0
133 typedef unsigned char UNSIGNED_CHAR; 133 typedef unsigned char UNSIGNED_CHAR;
134 typedef char CHAR; 134 typedef char CHAR;
135 typedef int INT; 135 typedef int INT;
136 typedef unsigned long * UNSIGNED_PTR; 136 typedef unsigned long * UNSIGNED_PTR;
137 typedef unsigned char * BYTE_PTR; 137 typedef unsigned char * BYTE_PTR;
138 typedef DATA_ELEMENT BOOLEAN;
139 typedef unsigned int UNSIGNED_INT; 138 typedef unsigned int UNSIGNED_INT;
140 139
141 #define VOID void 140 #define VOID void
142 #define HUGE 141 #define HUGE
143 #define FAR 142 #define FAR
144 143
145 typedef char INT8; 144 /* need to avoid conflict with Riviera - do what the LoCosto src does */
146 typedef unsigned char UINT8; 145 #ifndef GENERAL_H
147 typedef signed short INT16; 146 typedef DATA_ELEMENT BOOLEAN;
148 typedef unsigned short UINT16; 147 typedef char INT8;
149 typedef signed long INT32; 148 typedef unsigned char UINT8;
150 typedef unsigned long UINT32; 149 typedef signed short INT16;
151 150 typedef unsigned short UINT16;
151 typedef signed long INT32;
152 typedef unsigned long UINT32;
153 #endif
152 154
153 /* Define register defines. R1, R2, R3, and R4 are used in the Nucleus PLUS 155 /* Define register defines. R1, R2, R3, and R4 are used in the Nucleus PLUS
154 source code in front of variables that are referenced often. In some 156 source code in front of variables that are referenced often. In some
155 ports, defining them as "register" will improve performance. */ 157 ports, defining them as "register" will improve performance. */
156 158