AcessNative - Wine equivalent for Acess
[tpg/acess2.git] / AcessNative / acesskernel_src / include / arch.h
diff --git a/AcessNative/acesskernel_src/include/arch.h b/AcessNative/acesskernel_src/include/arch.h
new file mode 100644 (file)
index 0000000..e985789
--- /dev/null
@@ -0,0 +1,37 @@
+/**
+ */
+#ifndef _ARCH_H_
+#define _ARCH_H_
+
+#include <stdint.h>
+#include <stdlib.h>
+
+#define        _MODULE_NAME_   "NativeKernel"
+
+#define BITS   (sizeof(intptr_t)*8)
+
+typedef uint8_t        Uint8;
+typedef uint16_t       Uint16;
+typedef uint32_t       Uint32;
+typedef uint64_t       Uint64;
+
+typedef int8_t Sint8;
+typedef int16_t        Sint16;
+typedef int32_t        Sint32;
+typedef int64_t        Sint64;
+
+typedef intptr_t       Uint;
+
+typedef intptr_t       tVAddr;
+typedef intptr_t       tPAddr;
+
+struct sShortSpinlock
+{
+        int    Lock;
+};
+
+#define SHORTLOCK(...)
+#define SHORTREL(...)
+
+#endif
+

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