Use more appropriate types for pt_regs struct, e.g. 16-bit types for 16-bit
[cake.git] / rom / exec / etask.h
blob808969b94dae126def79c364b60bff19545b687e
1 #ifndef _ETASK_H
2 #define _ETASK_H
4 /*
5 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
6 $Id$
8 Desc: Internal description of the ETask structure
9 Lang: english
11 #ifndef EXEC_TASKS_H
12 # include <exec/tasks.h>
13 #endif
15 struct IntETask
17 struct ETask iet_ETask;
18 #ifdef DEBUG_ETASK
19 STRPTR iet_Me;
20 #endif
21 APTR iet_RT; /* Structure for resource tracking */
22 APTR iet_Context; /* Structure to store CPU registers */
23 APTR iet_acpd; /* Structure to store shared clib's data */
24 APTR iet_startup; /* Structure to store startup code stuff */
25 UQUAD iet_CpuTime;
26 UQUAD iet_private1;
29 #define GetIntETask(task) ((struct IntETask *)(((struct Task *) \
30 (task))->tc_UnionETask.tc_ETask))
31 #define IntETask(etask) ((struct IntETask *)(etask))
33 #endif /* _ETASK_H */