Init control word to zero, cdrom-handler reads this and will crash if it is non-zero...
[AROS.git] / rom / partition / partition_intern.h
blob0b5c11e462a433cf059f7a0456abf827cdac99a2
1 #ifndef PARTITION_INTERN_H
2 #define PARTITION_INTERN_H
4 /*
5 Copyright © 2001-2011, The AROS Development Team. All rights reserved.
6 $Id$
8 Desc: Internal definitions for partition.library
9 Lang: english
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;
22 BPTR segList;
23 struct List bootList;
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
37 * be NULL.
40 /* REMOVE ONCE ABIv1 HAS STABALIZED */
41 #define UtilityBase (((struct PartitionBase_intern *)PartitionBase)->pb_UtilityBase)
43 #endif /* PARTITION_INTERN_H */