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>
24 #define SLOTSPERBYTE 8
26 /* I got this info from the 1.3 include file libraries/expansionbase.h */
28 struct IntExpansionBase
30 struct Library eb_LibNode
;
33 struct ExecBase
*eb_SysBase
;
35 struct CurrentBinding eb_CurrentBinding
;
36 struct List eb_BoardList
;
37 struct List eb_MountList
;
39 struct SignalSemaphore eb_BindSemaphore
;
41 UBYTE eb_z2Slots
[Z2SLOTS
/SLOTSPERBYTE
];
42 UBYTE eb_z3Slots
[Z3SLOTS
/SLOTSPERBYTE
];
45 #define IntExpBase(eb) ((struct IntExpansionBase*)(eb))
46 #define SysBase (((struct IntExpansionBase *)ExpansionBase)->eb_SysBase)
48 #endif /* _EXPANSION_INTERN_H */