	IFND	DOS_NOTIFY_I
DOS_NOTIFY_I	SET	1
	IFND	EXEC_PORTS_I
	INCLUDE	"exec/ports.i"
	ENDC
	IFND	EXEC_TASKS_I
	INCLUDE	"exec/tasks.i"
	ENDC

NOTIFY_CLASS	EQU	$40000000
NOTIFY_CODE	EQU	$1234

	rsreset
NotifyMessage	rs.b	0
nm_ExecMessage	rs.b	MN_SIZE
nm_Class	rs.l	1
nm_Code		rs.w	1
nm_NReq		rs.l	1
nm_DoNotTouch	rs.l	1
nm_DoNotTouch2	rs.l	1
NotifyMessage_SIZEOF	rs.w	0

	rsreset
NotifyRequest	rs.b	0
nr_Name		rs.l	1
nr_FullName	rs.l	1
nr_UserData	rs.l	1
nr_Flags	rs.l	1
nr_Port		rs.l	1
nr_Task		EQU	nr_Port
nr_SignalNum	rs.b	1
nr_pad		rs.b	3
nr_Reserved	rs.b	4*4
nr_MsgCount	rs.l	1
nr_Handler	rs.l	1
NotifyRequest_SIZEOF	rs.w	0

NRB_SEND_MESSAGE	EQU	0
NRF_SEND_MESSAGE	EQU	1<<0
NRB_SEND_SIGNAL		EQU	1
NRF_SEND_SIGNAL		EQU	1<<1
NRB_WAIT_REPLY		EQU	3
NRF_WAIT_REPLY		EQU	1<<3
NRB_NOTIFY_INITIAL	EQU	4
NRF_NOTIFY_INITIAL	EQU	1<<4
NRB_MAGIC		EQU	31
NRF_MAGIC		EQU	1<<31
NR_HANDLER_FLAGS	EQU	$ffff0000

	ENDC	;DOS_NOTIFY_I
