AcessNative - Wine equivalent for Acess
[tpg/acess2.git] / AcessNative / acesskernel_src / include / arch.h
1 /**
2  */
3 #ifndef _ARCH_H_
4 #define _ARCH_H_
5
6 #include <stdint.h>
7 #include <stdlib.h>
8
9 #define _MODULE_NAME_   "NativeKernel"
10
11 #define BITS    (sizeof(intptr_t)*8)
12
13 typedef uint8_t Uint8;
14 typedef uint16_t        Uint16;
15 typedef uint32_t        Uint32;
16 typedef uint64_t        Uint64;
17
18 typedef int8_t  Sint8;
19 typedef int16_t Sint16;
20 typedef int32_t Sint32;
21 typedef int64_t Sint64;
22
23 typedef intptr_t        Uint;
24
25 typedef intptr_t        tVAddr;
26 typedef intptr_t        tPAddr;
27
28 struct sShortSpinlock
29 {
30          int    Lock;
31 };
32
33 #define SHORTLOCK(...)
34 #define SHORTREL(...)
35
36 #endif
37

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