
;**; configvars.i ;********************************************************
;
;  software structures for configuration subsystem
;
; Copyright (C) 1985,  Commodore-Amiga, Inc., All rights reserved.
;
; $Header: configvars.i,v 33.2 86/04/25 03:58:09 neil Exp $
;
; $Locker:  $
;
; $Log: configvars.i,v $
; Revision 33.2  86/04/25  03:58:09  neil
; added cb_ToolTypes
; 
; Revision 33.1  86/04/03  19:14:04  neil
; ;*; empty log message ;**
; 
;
;***************************************************************************

        IFND    LIBRARIES_CONFIGVARS_I@
LIBRARIES_CONFIGVARS_I@  =     1

        IFND    EXEC_NODES_I@
        INCLUDE "exec/nodes.i"
        ENDIF

        IFND    LIBRARIES_CONFIGREGS_I@
        INCLUDE "libraries/configregs.i"
        ENDIF


 STRUCTURE ConfigDev,0
    STRUCT      cd_Node,LN_SIZE
    UBYTE       cd_Flags
    UBYTE       cd_Pad
    STRUCT      cd_Rom,ExpansionRom_SIZEOF ; copy of boards config rom
    APTR        cd_BoardAddr    ; where in memory the board is
    APTR        cd_BoardSize    ; size in bytes
    UWORD       cd_SlotAddr     ; which slot number
    UWORD       cd_SlotSize     ; number of slots the board takes
    APTR        cd_Driver       ; pointer to node of driver
    APTR        cd_NextCD       ; linked list of drivers to config
    STRUCT      cd_Unused,4*4   ; for whatever the driver whats
    LABEL       ConfigDev_SIZEOF

; cd_Flags
;        BITDEF  CD,SHUTUP,0     ; this board has been shut up
CDB_SHUTUP = 0     ; this board has been shut up
CDF_SHUTUP = 1<<0     ; this board has been shut up
;        BITDEF  CD,CONFIGME,1   ; this board needs a driver to claim it
CDB_CONFIGME = 1   ; this board needs a driver to claim it
CDF_CONFIGME = 1<<1   ; this board needs a driver to claim it

; this structure is used by GetCurrentBinding() and SetCurrentBinding()
 STRUCTURE CurrentBinding,0
    APTR        cb_ConfigDev
    APTR        cb_FileName
    APTR        cb_ProductString
    APTR        cb_ToolTypes
    LABEL       CurrentBinding_SIZEOF


        ENDIF
        END

 