Support rastport clipping rectangle for layerless rastports
[tangerine.git] / rom / expansion / expansion_intern.h
blob4a59b5415db1e2e190b3de44734059851479ef6e
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 256
23 #define Z3SLOTS 2048
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;
31 UBYTE eb_Flags;
32 UBYTE eb_pad;
33 struct ExecBase *eb_SysBase;
34 ULONG eb_SegList;
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 */