home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD v1.2 / amidev_cd_12.iso / inc&ad2.0 / includes / exec / ports.i < prev    next >
Text File  |  1992-09-01  |  1KB  |  62 lines

  1.     IFND    EXEC_PORTS_I
  2. EXEC_PORTS_I    SET    1
  3. **
  4. **    $Filename: exec/ports.i $
  5. **    $Release: 2.04 Includes, V37.4 $
  6. **    $Revision: 36.5 $
  7. **    $Date: 90/05/10 $
  8. **
  9. **    Message ports and Messages.
  10. **
  11. **    (C) Copyright 1985-1991 Commodore-Amiga, Inc.
  12. **        All Rights Reserved
  13. **
  14.  
  15.     IFND EXEC_NODES_I
  16.     INCLUDE "exec/nodes.i"
  17.     ENDC    ; EXEC_NODES_I
  18.  
  19.     IFND EXEC_LISTS_I
  20.     INCLUDE "exec/lists.i"
  21.     ENDC    ; EXEC_LISTS_I
  22.  
  23.  
  24. *----------------------------------------------------------------
  25. *
  26. *   Message Port Structure
  27. *
  28. *----------------------------------------------------------------
  29.  
  30.  STRUCTURE  MP,LN_SIZE
  31.     UBYTE   MP_FLAGS
  32.     UBYTE   MP_SIGBIT            ; signal bit number
  33.     APTR    MP_SIGTASK            ; object to be signalled
  34.     STRUCT  MP_MSGLIST,LH_SIZE        ; message linked list
  35.     LABEL   MP_SIZE
  36.  
  37.  
  38. *------ unions:
  39. MP_SOFTINT    EQU  MP_SIGTASK
  40.  
  41.  
  42. *------ MP_FLAGS: Port arrival actions (PutMsg)
  43. PF_ACTION    EQU  3    ; Mask
  44. PA_SIGNAL    EQU  0    ; Signal task in MP_SIGTASK
  45. PA_SOFTINT    EQU  1    ; Signal SoftInt in MP_SOFTINT/MP_SIGTASK
  46. PA_IGNORE    EQU  2    ; Ignore arrival
  47.  
  48.  
  49. *----------------------------------------------------------------
  50. *
  51. *   Message Structure
  52. *
  53. *----------------------------------------------------------------
  54.  
  55.  STRUCTURE  MN,LN_SIZE
  56.     APTR    MN_REPLYPORT    ; message reply port
  57.     UWORD   MN_LENGTH        ; total message length in bytes
  58.                 ; (include MN_SIZE in the length)
  59.     LABEL   MN_SIZE
  60.  
  61.     ENDC    ; EXEC_PORTS_I
  62.