ARM Build (doesn't compile yet)
[tpg/acess2.git] / Kernel / arch / arm7 / include / arch.h
1 /*
2  * Acess2
3  * ARM7 Architecture Header
4  */
5 #ifndef _ARCH_H_
6 #define _ARCH_H_
7
8 // === CONSTANTS ===
9 #define INVLPTR ((void*)-1)
10 #define BITS    32
11
12 // === TYPES ===
13 typedef unsigned int    Uint;
14 typedef unsigned char   Uint8;
15 typedef unsigned short  Uint16;
16 typedef unsigned long   Uint32;
17 typedef unsigned long long      Uint64;
18 typedef signed int      Sint;
19 typedef signed char     Sint8;
20 typedef signed short    Sint16;
21 typedef signed long     Sint32;
22 typedef signed long long        Sint64;
23
24 typedef int     size_t;
25 typedef char    BOOL;
26
27 typedef Uint32  tVAddr;
28 typedef Uint32  tPAddr;
29
30 #include <lock.h>
31
32 // --- Debug
33 extern void     Debug_PutCharDebug(char Ch);
34 extern void     Debug_PutStringDebug(const char *String);
35
36
37 #endif

UCC git Repository :: git.ucc.asn.au