2 Copyright © 1995-2004, The AROS Development Team. All rights reserved.
5 Desc: Internal data structures for expansion.library
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>
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
;
32 struct ExecBase
*eb_SysBase
;
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
];
44 #define IntExpBase(eb) ((struct IntExpansionBase*)(eb))
45 #define SysBase (((struct IntExpansionBase *)ExpansionBase)->eb_SysBase)
47 #endif /* _EXPANSION_INTERN_H */