	IFND	EXEC_RESIDENT_I
EXEC_RESIDENT_I	EQU	1
**
**	$Filename: exec/resident.i $
**	$Release: 2.04 Includes, V37.4 $
**	$Revision: 36.8 $
**	$Date: 90/11/01 $
**
**	Resident/ROMTag stuff.	Used to identify and initialize code modules.
**
**	(C) Copyright 1985-1991 Commodore-Amiga, Inc.
**	    All Rights Reserved
**

	IFND	EXEC_TYPES_I
	INCLUDE	"exec/types.i"
	ENDC	; EXEC_TYPES_I


*----------------------------------------------------------------
*
*   Resident Module Tag
*
*----------------------------------------------------------------

	STRUCTURE	RT,0
	UWORD	RT_MATCHWORD			; word to match on (ILLEGAL)
	APTR	RT_MATCHTAG			; pointer to the above (RT_MATCHWORD)
	APTR	RT_ENDSKIP			; address to continue scan
	UBYTE	RT_FLAGS			; various tag flags
	UBYTE	RT_VERSION			; release version number
	UBYTE	RT_TYPE			; type of module (NT_XXXXXX)
	BYTE	RT_PRI			; initialization priority
	APTR	RT_NAME			; pointer to node name
	APTR	RT_IDSTRING			; pointer to identification string
	APTR	RT_INIT			; pointer to init code
	LABEL	RT_SIZE


;------ Match word definition:

RTC_MATCHWORD	EQU	$4AFC		; The 68000 "ILLEGAL" instruction


;------ RT_FLAGS bit and field definitions:

	BITDEF	RT,COLDSTART,0
	BITDEF	RT,SINGLETASK,1
	BITDEF	RT,AFTERDOS,2
	BITDEF	RT,AUTOINIT,7		; RT_INIT points to data structure

; Compatibility: (obsolete)
;RTM_WHEN	EQU	1		; field position in RT_FLAGS
RTW_NEVER	EQU	0		; never ever init
RTW_COLDSTART	EQU	1		; init at coldstart time

	ENDC	; EXEC_RESIDENT_I
