Made field names in public and private ExpansionBases more
[AROS.git] / rom / expansion / expansion_intern.h
blobecffe6cb9a67d0dc96283020533dff5704e8ca5f
1 /*
2 Copyright © 1995-2014, 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 /* The following layout is compatible with the AOS 1.3 include files */
27 struct IntExpansionBase
29 struct Library LibNode;
30 UBYTE Flags;
31 UBYTE pad;
32 struct ExecBase *ExecBase;
33 IPTR SegList;
34 struct CurrentBinding CurrentBinding;
35 struct List BoardList;
36 struct List MountList;
38 UBYTE z2Slots[Z2SLOTS/SLOTSPERBYTE];
39 UWORD z3Slot;
40 UBYTE pad2[224];
42 struct SignalSemaphore BindSemaphore;
43 struct SignalSemaphore BootSemaphore;
44 ULONG BootFlags;
47 #define IntExpBase(eb) ((struct IntExpansionBase*)(eb))
49 #endif /* _EXPANSION_INTERN_H */