revert between 56095 -> 55830 in arch
[AROS.git] / workbench / devs / AHI / Drivers / Device / DriverData.h
blob93384ea7bd37b131c048f238f6ddd6628f2e0e34
1 #ifndef AHI_Drivers_Device_DriverData_h
2 #define AHI_Drivers_Device_DriverData_h
4 #include <devices/ahi.h>
5 #include <exec/libraries.h>
6 #include <dos/dosextens.h>
8 #include "DriverBase.h"
10 struct DeviceBase
12 struct DriverBase driverbase;
13 struct DosLibrary* dosbase;
14 #ifdef __AMIGAOS4__
15 struct DOSIFace* idos;
16 #endif
19 #define DRIVERBASE_SIZEOF (sizeof (struct DeviceBase))
21 #define DOSBase (DeviceBase->dosbase)
23 #ifdef __AMIGAOS4__
24 # define IDOS (DeviceBase->idos)
25 #endif
27 struct DeviceData
29 struct DriverData driverdata;
30 BYTE mastersignal;
31 BYTE slavesignal;
32 struct Process* mastertask;
33 struct Process* slavetask;
34 struct DeviceBase* ahisubbase;
35 APTR mixbuffers[ 2 ];
36 ULONG unit;
40 #endif /* AHI_Drivers_Device_DriverData_h */