Fixed compatibility of output.
[AROS.git] / compiler / include / exec / resident.h
blob631c049bdbac64639680feeda335a784d4fae517
1 #ifndef EXEC_RESIDENT_H
2 #define EXEC_RESIDENT_H
4 /*
5 Copyright © 1995-2004, The AROS Development Team. All rights reserved.
6 $Id$
8 Resident modules.
9 */
11 #ifndef EXEC_TYPES_H
12 # include <exec/types.h>
13 #endif
15 #ifndef UTILITY_TAGITEM_H
16 # include <utility/tagitem.h>
17 #endif
19 struct __mayalias Resident;
20 struct Resident
22 UWORD rt_MatchWord; /* equal to RTC_MATCHWORD (see below) */
23 const struct Resident *rt_MatchTag; /* Pointer to this struct */
24 APTR rt_EndSkip;
25 UBYTE rt_Flags; /* see below */
26 UBYTE rt_Version;
27 UBYTE rt_Type;
28 BYTE rt_Pri;
29 CONST_STRPTR rt_Name;
30 CONST_STRPTR rt_IdString;
31 APTR rt_Init;
33 /* Extension taken over from MorphOS. Only valid
34 if RTF_EXTENDED is set */
36 UWORD rt_Revision;
37 struct TagItem *rt_Tags;
40 #define RTC_MATCHWORD (0x4AFC)
42 #define RTF_COLDSTART (1<<0)
43 #define RTF_SINGLETASK (1<<1)
44 #define RTF_AFTERDOS (1<<2)
45 #define RTF_AUTOINIT (1<<7)
47 #define RTF_EXTENDED (1<<6) /* MorphOS extension: extended
48 structure fields are valid */
50 #define RTW_NEVER (0)
51 #define RTW_COLDSTART (1)
53 #endif /* EXEC_RESIDENT_H */