X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Kernel%2Farch%2Fm68k%2Finclude%2Fproc.h;fp=Kernel%2Farch%2Fm68k%2Finclude%2Fproc.h;h=8cf6aa0c3d7fde1587927aa5e6999b67e2f60497;hb=aa8af5fd9a5a3cb3563244ceb85b50e959a184bf;hp=0000000000000000000000000000000000000000;hpb=13cfd41138fbb925b9a9e239ecd58d1a768ac5aa;p=tpg%2Facess2.git diff --git a/Kernel/arch/m68k/include/proc.h b/Kernel/arch/m68k/include/proc.h new file mode 100644 index 00000000..8cf6aa0c --- /dev/null +++ b/Kernel/arch/m68k/include/proc.h @@ -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 +