2 #include <exec/types.h>
3 #include <exec/execbase.h>
4 #include <dos/dosextens.h>
9 #include <proto/exec.h>
13 #include <emul/emulregs.h>
15 static ULONG
DiskChangeHandler_native(void)
17 struct globaldata
*g
= (void *) REG_A1
;
18 Signal(&g
->myproc
->pr_Task
, g
->diskchangesignal
);
22 const struct EmulLibEntry DiskChangeHandler __READONLY__
=
26 (void (*)(void)) DiskChangeHandler_native
33 AROS_UFH2(ULONG
, DiskChangeHandler
,
34 AROS_UFHA(struct globaldata
*, g
, A1
),
35 AROS_UFHA(struct ExecBase
*, SysBase
, A6
))
39 Signal(&g
->myproc
->pr_Task
, g
->diskchangesignal
);
47 #warning "Add the implementation for your platform"