Kernel/arm7 - Working on ARM7 port
[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 #define PAGE_SIZE       0x1000
12
13 // === TYPES ===
14 typedef unsigned int    Uint;
15 typedef unsigned char   Uint8;
16 typedef unsigned short  Uint16;
17 typedef unsigned long   Uint32;
18 typedef unsigned long long      Uint64;
19 typedef signed int      Sint;
20 typedef signed char     Sint8;
21 typedef signed short    Sint16;
22 typedef signed long     Sint32;
23 typedef signed long long        Sint64;
24
25 typedef int     size_t;
26 typedef char    BOOL;
27
28 typedef Uint32  tVAddr;
29 typedef Uint32  tPAddr;
30
31 #include "lock.h"
32
33 // --- Debug
34 extern void     Debug_PutCharDebug(char Ch);
35 extern void     Debug_PutStringDebug(const char *String);
36
37 // This should be elsewhere, but CBF
38 extern void     MM_SetupPhys(void);
39 extern int      MM_InitialiseVirtual(void);
40
41 #endif

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