gcc-4.6.2: Update with patch for gengtype.c
[AROS.git] / rom / expansion / expansion_intern.h
blob2a3b73829fa235fa6a900f5752e54a65900d73ba
1 /*
2 Copyright © 1995-2004, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Internal data structures for expansion.library
6 Lang: english
7 */
9 #ifndef _EXPANSION_INTERN_H
10 #define _EXPANSION_INTERN_H
12 #include <exec/types.h>
13 #include <exec/libraries.h>
14 #include <exec/semaphores.h>
15 #include <libraries/expansion.h>
16 #include <libraries/expansionbase.h>
17 #include <libraries/configvars.h>
19 /* Needed for aros_print_not_implemented macro */
20 #include <aros/debug.h>
22 #define Z2SLOTS 240
23 #define SLOTSPERBYTE 8
25 /* I got this info from the 1.3 include file libraries/expansionbase.h */
27 struct IntExpansionBase
29 struct Library eb_LibNode;
30 UBYTE eb_Flags;
31 UBYTE eb_pad;
32 struct ExecBase *eb_SysBase;
33 IPTR eb_SegList;
34 struct CurrentBinding eb_CurrentBinding;
35 struct List eb_BoardList;
36 struct List eb_MountList;
38 struct SignalSemaphore eb_BindSemaphore;
40 UBYTE eb_z2Slots[Z2SLOTS/SLOTSPERBYTE];
41 UWORD eb_z3Slot;
44 #define IntExpBase(eb) ((struct IntExpansionBase*)(eb))
46 #endif /* _EXPANSION_INTERN_H */