2 Copyright © 1995-2002, The AROS Development Team. All rights reserved.
8 #include <aros/libcall.h>
9 #include <exec/execbase.h>
11 #include <exec/devices.h>
17 struct ExecBase
*sysbase
;
24 struct IORequest iorequest
;
28 #define init(dummybase, segList) \
29 __AROS_LC2(struct dummybase *, init, __AROS_LA(struct dummybase *, dummybase, D0), __AROS_LA(BPTR, segList, A0), struct ExecBase *, SysBase, 0, dummy)
31 #define open(iob, unitnum, flags) \
32 __AROS_LC3(void, open, __AROS_LA(struct dummyrequest *, iob, A1), __AROS_LA(ULONG, unitnum, D0), __AROS_LA(ULONG, flags, D0), struct dummybase *, dummybase, 1, dummy)
35 __AROS_LC1(BPTR, close, __AROS_LA(struct dummyrequest *, iob, A1), struct dummybase *, dummybase, 2, dummy)
38 __AROS_LC0(BPTR, expunge, struct dummybase *, dummybase, 3, dummy)
41 __AROS_LC0(int, null, struct dummybase *, dummybase, 4, dummy)
43 #define beginio(iob) \
44 __AROS_LC1(void, beginio, __AROS_LA(struct dummyrequest *, iob, A1), struct dummybase *, dummybase, 5, dummy)
46 #define abortio(iob) \
47 __AROS_LC1(LONG, abortio, __AROS_LA(struct dummyrequest *, iob, A1), struct dummybase *, dummybase, 6, dummy)