home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / at-inc-bin.lha / os-include / exec / nodes.i < prev    next >
Text File  |  1993-10-15  |  2KB  |  68 lines

  1.     IFND EXEC_NODES_I
  2. EXEC_NODES_I    SET 1
  3. **
  4. **    $VER: nodes.i 39.0 (15.10.91)
  5. **    Includes Release 40.15
  6. **
  7. **    Nodes & Node type identifiers.
  8. **
  9. **    (C) Copyright 1985-1993 Commodore-Amiga, Inc.
  10. **        All Rights Reserved
  11. **
  12.  
  13.     IFND EXEC_TYPES_I
  14.     INCLUDE "exec/types.i"
  15.     ENDC ; EXEC_TYPES_I
  16.  
  17.  
  18. *
  19. *   List Node Structure.  Each member in a list starts with a Node
  20. *
  21.    STRUCTURE    LN,0    ; List Node
  22.     APTR    LN_SUCC    ; Pointer to next (successor)
  23.     APTR    LN_PRED    ; Pointer to previous (predecessor)
  24.     UBYTE    LN_TYPE
  25.     BYTE    LN_PRI    ; Priority, for sorting
  26.     APTR    LN_NAME    ; ID string, null terminated
  27.     LABEL    LN_SIZE    ; Note: word aligned
  28.  
  29. ; minimal node -- no type checking possible
  30.    STRUCTURE    MLN,0    ; Minimal List Node
  31.     APTR    MLN_SUCC
  32.     APTR    MLN_PRED
  33.     LABEL    MLN_SIZE
  34.  
  35.  
  36. **
  37. ** Note: Newly initialized IORequests, and software interrupt structures
  38. ** used with Cause(), should have type NT_UNKNOWN.  The OS will assign a type
  39. ** when they are first used.
  40. **
  41. ;------ Node Types for LN_TYPE
  42.  
  43. NT_UNKNOWN    EQU 0
  44. NT_TASK    EQU 1    ; Exec task
  45. NT_INTERRUPT    EQU 2
  46. NT_DEVICE    EQU 3
  47. NT_MSGPORT    EQU 4
  48. NT_MESSAGE    EQU 5    ; Indicates message currently pending
  49. NT_FREEMSG    EQU 6
  50. NT_REPLYMSG    EQU 7    ; Message has been replied
  51. NT_RESOURCE    EQU 8
  52. NT_LIBRARY    EQU 9
  53. NT_MEMORY    EQU 10
  54. NT_SOFTINT    EQU 11    ; Internal flag used by SoftInts
  55. NT_FONT    EQU 12
  56. NT_PROCESS    EQU 13    ; AmigaDOS Process
  57. NT_SEMAPHORE    EQU 14
  58. NT_SIGNALSEM    EQU 15    ; signal semaphores
  59. NT_BOOTNODE    EQU 16
  60. NT_KICKMEM    EQU 17
  61. NT_GRAPHICS    EQU 18
  62. NT_DEATHMESSAGE    EQU 19
  63.  
  64. NT_USER        EQU 254    ; User node types work down from here
  65. NT_EXTENDED    EQU 255
  66.  
  67.     ENDC    ;EXEC_NODES_I
  68.