Kernel - Added (completely untested) m68k port
[tpg/acess2.git] / Kernel / arch / m68k / include / proc.h
diff --git a/Kernel/arch/m68k/include/proc.h b/Kernel/arch/m68k/include/proc.h
new file mode 100644 (file)
index 0000000..8cf6aa0
--- /dev/null
@@ -0,0 +1,40 @@
+/*
+ * Acess2 M68000 port
+ * - By John Hodge (thePowersGang)
+ *
+ * arch/m68k/include/proc.h
+ * - Task management defs
+ */
+#ifndef _M68K_PROC_H_
+#define _M68K_PROC_H_
+
+#define MAX_CPUS       1
+
+typedef int    tMemoryState;   // Unused
+
+typedef struct {
+       Uint32  IP;
+       Uint32  SP;
+} tTaskState;
+
+typedef struct {
+       Uint32  Num;
+       union {
+               Uint32  Arg1;
+               Uint32  Return;
+       };
+       union {
+               Uint32  Arg2;
+               Uint32  RetHi;
+       };
+       union {
+               Uint32  Arg3;
+               Uint32  Error;
+       };
+       Uint32  Arg4;
+       Uint32  Arg5;
+       Uint32  Arg6;
+} tSyscallRegs;
+
+#endif
+

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