Check for SYS/GL during library init. Reason is that
[AROS.git] / workbench / libs / prometheus / prometheus_intern.h
blob48581a6f2431991f19e6e16b4203538f984be93e
1 /*
2 Copyright © 2005-2013, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #ifndef PROMETHEUS_INTERN_H
7 #define PROMETHEUS_INTERN_H
10 #include <exec/types.h>
11 #include <exec/libraries.h>
12 #include <exec/lists.h>
13 #include <libraries/prometheus.h>
14 #include <oop/oop.h>
15 #include <hidd/pci.h>
16 #include <aros/asmcall.h>
17 #include <aros/libcall.h>
20 #ifndef UPINT
21 typedef IPTR UPINT;
22 typedef SIPTR PINT;
23 #endif
26 #undef PCIBoard
27 typedef struct PCIBoard PCIBoard;
30 struct LibBase
32 struct Library lib_header;
33 OOP_Object *pci_hidd;
34 OOP_AttrBase pcidevice_attr_base;
35 OOP_AttrBase pcidriver_attr_base;
36 OOP_MethodID pcidevice_method_base;
37 APTR kernelBase;
38 struct MinList boards;
41 #undef HiddPCIDeviceAttrBase
42 #define HiddPCIDeviceAttrBase (base->pcidevice_attr_base)
43 #undef HiddPCIDeviceBase
44 #define HiddPCIDeviceBase (base->pcidevice_method_base)
46 struct PCIBoard
48 struct MinNode node;
49 struct Node *owner;
50 OOP_Object *aros_board;
54 #endif