collect-aros: Remove dependency on elfedit
[AROS.git] / arch / m68k-mac / exec / offsets.c
blob0682ef6754645cf2712af8918ecf106ac65d25f2
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
4 */
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);