1 #ifndef PARTITION_INTERN_H
2 #define PARTITION_INTERN_H
5 Copyright © 2001-2011, The AROS Development Team. All rights reserved.
8 Desc: Internal definitions for partition.library
12 #include <exec/libraries.h>
13 #include <exec/semaphores.h>
14 #include <libraries/partition.h>
16 #include <aros/libcall.h>
17 #include LC_LIBDEFS_FILE
19 struct PartitionBase_intern
21 struct PartitionBase partbase
;
24 struct SignalSemaphore bootSem
;
25 struct Library
*pb_DOSBase
;
27 /* REMOVE ONCE ABIv1 HAS STABALIZED */
28 struct Library
*pb_UtilityBase
;
31 #define PBASE(x) ((struct PartitionBase_intern *)x)
33 #define PTYPE(x) ((struct PartitionType *)x)
35 /* We do NOT define DOSBase, because we want to be
36 * explicit about all uses of DOSBase, since it may
40 /* REMOVE ONCE ABIv1 HAS STABALIZED */
41 #define UtilityBase (((struct PartitionBase_intern *)PartitionBase)->pb_UtilityBase)
43 #endif /* PARTITION_INTERN_H */