2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
6 #include <exec/tasks.h>
7 #include <exec/types.h>
8 #include <exec/execbase.h>
10 ULONG
get_offsetof_ThisTask(void)
12 return (ULONG
)&(((struct ExecBase
*)0x0)->ThisTask
);
15 ULONG
get_offsetof_tc_SPLower(void)
17 return (ULONG
)&(((struct Task
*)0x0)->tc_SPLower
);
20 ULONG
get_offsetof_tc_TrapCode(void)
22 return (ULONG
)&(((struct Task
*)0x0)->tc_TrapCode
);