5 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
8 Desc: Utility functions for exec.
13 # include <exec/types.h>
29 APTR
Exec_AllocTaskMem (struct Task
* task
, ULONG size
, ULONG flags
, struct ExecBase
*SysBase
);
30 void Exec_FreeTaskMem (struct Task
* task
, APTR mem
, struct ExecBase
*SysBase
);
32 void Exec_InitETask(struct Task
*task
, struct ETask
*etask
, struct ExecBase
*SysBase
);
33 struct Task
*Exec_FindTaskByID(ULONG id
, struct ExecBase
*SysBase
);
34 struct ETask
*Exec_FindChild(ULONG id
, struct ExecBase
*SysBase
);
35 struct IntETask
*FindETask(struct List
*, ULONG id
, struct ExecBase
*SysBase
);
38 * Pseudo-functions, including SysBase for nicer calling...
40 #define AllocTaskMem(t,s,f) Exec_AllocTaskMem(t,s,f,SysBase)
41 #define FreeTaskMem(t,m) Exec_FreeTaskMem(t,m,SysBase)
42 #define FindTaskByID(i) Exec_FindTaskByID(i,SysBase)
43 #define FindChild(i) Exec_FindChild(i,SysBase)
44 #define FindETask(l,i) Exec_FindETask(l,i,SysBase)
45 #define InitETask(t,e) Exec_InitETask(t,e,SysBase)
47 #endif /* _EXEC_UTIL_H */