1 #ifndef EXEC_DEVICES_H
    2 #define EXEC_DEVICES_H
    3 
    4 /*
    5 	exec device definitions (V50)
    6 
    7 	Copyright © 2002 The MorphOS Development Team, All Rights Reserved.
    8 */
    9 
   10 #ifndef EXEC_LIBRARIES_H
   11 # include <exec/libraries.h>
   12 #endif
   13 
   14 #ifndef EXEC_PORTS_H
   15 # include <exec/ports.h>
   16 #endif
   17 
   18 #pragma pack(2)
   19 
   20 
   21 struct Device
   22 {
   23 	struct Library dd_Library;
   24 };
   25 
   26 struct Unit
   27 {
   28 	struct MsgPort unit_MsgPort;
   29 	UBYTE          unit_flags;
   30 	UBYTE          unit_pad;
   31 	UWORD          unit_OpenCnt;
   32 };
   33 
   34 
   35 #define UNITF_ACTIVE  (1<<0)
   36 #define UNITF_INTASK  (1<<1)
   37 
   38 
   39 #pragma pack()
   40 
   41 #endif