home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Developer CD v1.2
/
amidev_cd_12.iso
/
inc&ad2.0
/
includes
/
exec
/
devices.i
< prev
next >
Wrap
Text File
|
1992-09-01
|
1KB
|
53 lines
IFND EXEC_DEVICES_I
EXEC_DEVICES_I SET 1
**
** $Filename: exec/devices.i $
** $Release: 2.04 Includes, V37.4 $
** $Revision: 36.4 $
** $Date: 90/05/10 $
**
** Include file for use by Exec device drivers
**
** (C) Copyright 1985-1991 Commodore-Amiga, Inc.
** All Rights Reserved
**
IFND EXEC_LIBRARIES_I
INCLUDE "exec/libraries.i"
ENDC ; EXEC_LIBRARIES_I
IFND EXEC_PORTS_I
INCLUDE "exec/ports.i"
ENDC ; EXEC_PORTS_I
*----------------------------------------------------------------
*
* Device Data Structure
*
*----------------------------------------------------------------
STRUCTURE DD,LIB_SIZE
LABEL DD_SIZE ; identical to library
*----------------------------------------------------------------
*
* Suggested Unit Structure
*
*----------------------------------------------------------------
STRUCTURE UNIT,MP_SIZE ; queue for requests
UBYTE UNIT_FLAGS
UBYTE UNIT_pad
UWORD UNIT_OPENCNT
LABEL UNIT_SIZE
*------ UNIT_FLAG definitions:
BITDEF UNIT,ACTIVE,0 ; driver is active
BITDEF UNIT,INTASK,1 ; running in driver's task
ENDC ; EXEC_DEVICES_I