prepare the exec spinlocks
[AROS.git] / rom / partition / partition_intern.h
blobc64871bd89ed0c547810f667407a3abc2aaa694f
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;
26 /* We do NOT autoinit DOSBase, because we want to be
27 * explicit about all uses of DOSBase, since it may
28 * be NULL (and that's ok!).
30 struct Library *pb_DOSBase;
33 #define PBASE(x) ((struct PartitionBase_intern *)x)
35 #define PTYPE(x) ((struct PartitionType *)x)
37 #endif /* PARTITION_INTERN_H */