2 Copyright © 1995-2008, The AROS Development Team. All rights reserved.
9 /******************************************************************************
15 Header-file for nodes.
17 ******************************************************************************/
19 /**************************************
21 **************************************/
23 # include <aros/config.h>
26 # include <exec/types.h>
30 /**************************************
32 **************************************/
34 #if (AROS_FLAVOUR & AROS_FLAVOUR_BINCOMPAT)
37 struct Node
* ln_Succ
,
41 /* AROS: pointer should be 32bit aligned, but we cannot do this on
42 the native machine because of binary compatibility.
50 struct Node
* ln_Succ
,
52 /* AROS: pointer should be 32bit aligned */
57 #endif /* AROS_FLAVOUR */
61 struct MinNode
* mln_Succ
,
66 /**************************************
68 **************************************/
69 /* Values for ln_Type */
70 #define NT_UNKNOWN 0 /* Unknown node */
71 #define NT_TASK 1 /* Exec task */
72 #define NT_INTERRUPT 2 /* Interrupt */
73 #define NT_DEVICE 3 /* Device */
74 #define NT_MSGPORT 4 /* Message-Port */
75 #define NT_MESSAGE 5 /* Indicates message currently pending */
77 #define NT_REPLYMSG 7 /* Message has been replied */
81 #define NT_SOFTINT 11 /* Internal flag used by SoftInits */
83 #define NT_PROCESS 13 /* AmigaDOS Process */
84 #define NT_SEMAPHORE 14
85 #define NT_SIGNALSEM 15 /* signal semaphores */
86 #define NT_BOOTNODE 16
88 #define NT_GRAPHICS 18
89 #define NT_DEATHMESSAGE 19
90 #define NT_HIDD 20 /* AROS specific */
92 #define NT_USER 254 /* User node types work down from here */
93 #define NT_EXTENDED 255
95 /***************************************
97 ****************************************/
99 #define SetNodeName(node,name) \
100 (((struct Node *)(node))->ln_Name = (char *)(name))
101 #define GetNodeName(node) \
102 (((struct Node *)(node))->ln_Name)
104 /******************************************************************************
105 ***** ENDE exec/nodes.h
106 ******************************************************************************/
108 #endif /* EXEC_NODES_H */