d812a5140409dac6c508658d07d4305192867d39
[tpg/acess2.git] / Kernel / arch / x86_64 / include / arch.h
1 /*
2  * Acess2 x86-64 Architecure Module
3  * - By John Hodge (thePowersGang)
4  */
5 #ifndef _ARCH_H_
6 #define _ARCH_H_
7
8 #define KERNEL_BASE     0xFFFF8000##00000000
9
10 // === Core Types ===
11 typedef signed char     Sint8;
12 typedef unsigned char   Uint8;
13 typedef signed short    Sint16;
14 typedef unsigned short  Uint16;
15 typedef signed long     Sint32;
16 typedef unsigned long   Uint32;
17 typedef signed long long        Sint64;
18 typedef unsigned long long      Uint64;
19
20 typedef Uint64  Uint;
21 typedef Uint64  tPAddr;
22 typedef Uint64  tVAddr;
23
24 //typedef unsigned int  size_t;
25 typedef Uint64  size_t;
26
27 typedef int     tSpinlock;
28
29 #define LOCK(_ptr)
30 #define RELEASE(_ptr)
31
32 #endif
33

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