Kernel/x86 - Added backtrace to running program in thread dump
[tpg/acess2.git] / KernelLand / Kernel / arch / armv7 / 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 #define KERNEL_BASE     0x80000000      // 2GiB
13
14 // === TYPES ===
15 typedef unsigned int    Uint;
16 typedef unsigned char   Uint8;
17 typedef unsigned short  Uint16;
18 typedef unsigned long   Uint32;
19 typedef unsigned long long      Uint64;
20 typedef signed int      Sint;
21 typedef signed char     Sint8;
22 typedef signed short    Sint16;
23 typedef signed long     Sint32;
24 typedef signed long long        Sint64;
25
26 //typedef int   size_t;
27 typedef char    BOOL;
28
29 typedef Uint32  tVAddr;
30 typedef Uint32  tPAddr;
31
32 #include "lock.h"
33
34 // --- Debug
35 extern void     Debug_PutCharDebug(char Ch);
36 extern void     Debug_PutStringDebug(const char *String);
37
38 // This should be elsewhere, but CBF
39 extern void     MM_SetupPhys(void);
40 extern int      MM_InitialiseVirtual(void);
41
42 #define NO_IO_BUS       1
43
44 #endif

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