1 #ifndef LIBRARIES_CONFIGVARS_H 2 #define LIBRARIES_CONFIGVARS_H 3 4 /* 5 AutoConfig(TM) structures 6 7 Copyright © 2002 The MorphOS Development Team, All Rights Reserved. 8 */ 9 10 #ifndef EXEC_TYPES_H 11 # include <exec/types.h> 12 #endif 13 14 #ifndef EXEC_NODES_H 15 # include <exec/nodes.h> 16 #endif 17 18 #ifndef LIBRARIES_CONFIGREGS_H 19 # include <libraries/configregs.h> 20 #endif 21 22 #pragma pack(2) 23 24 25 struct ConfigDev 26 { 27 struct Node cd_Node; 28 UBYTE cd_Flags; 29 UBYTE cd_Pad; 30 struct ExpansionRom cd_Rom; 31 APTR cd_BoardAddr; 32 ULONG cd_BoardSize; 33 UWORD cd_SlotAddr; 34 UWORD cd_SlotSize; 35 APTR cd_Driver; 36 struct ConfigDev *cd_NextCD; 37 ULONG cd_Unused[4]; 38 }; 39 40 41 #define CDB_SHUTUP 0 42 #define CDB_CONFIGME 1 43 #define CDB_BADMEMORY 2 44 #define CDB_PROCESSED 3 45 46 #define CDF_SHUTUP (1<<CDB_SHUTUP) 47 #define CDF_CONFIGME (1<<CDB_CONFIGME) 48 #define CDF_BADMEMORY (1<<CDB_BADMEMORY) 49 #define CDF_PROCESSED (1<<CDB_PROCESSED) 50 51 52 struct CurrentBinding 53 { 54 struct ConfigDev *cb_ConfigDev; 55 UBYTE *cb_FileName; 56 UBYTE *cb_ProductString; 57 UBYTE **cb_ToolTypes; 58 }; 59 60 61 #pragma pack() 62 63 #endif /* LIBRARIES_CONFIGVARS_H */