Merge branch 'master' of git://git.ucc.asn.au/tpg/acess2
[tpg/acess2.git] / KernelLand / Kernel / arch / m68k / include / proc.h
1 /*
2  * Acess2 M68000 port
3  * - By John Hodge (thePowersGang)
4  *
5  * arch/m68k/include/proc.h
6  * - Task management defs
7  */
8 #ifndef _M68K_PROC_H_
9 #define _M68K_PROC_H_
10
11 #define MAX_CPUS        1
12
13 typedef int     tMemoryState;   // Unused
14
15 typedef struct {
16         Uint32  IP;
17         Uint32  SP;
18 } tTaskState;
19
20 typedef struct {
21         Uint32  Num;
22         union {
23                 Uint32  Arg1;
24                 Uint32  Return;
25         };
26         union {
27                 Uint32  Arg2;
28                 Uint32  RetHi;
29         };
30         union {
31                 Uint32  Arg3;
32                 Uint32  Error;
33         };
34         Uint32  Arg4;
35         Uint32  Arg5;
36         Uint32  Arg6;
37 } tSyscallRegs;
38
39 #endif
40

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