add a missing section header table index conversion
[tangerine.git] / workbench / devs / ram_handler / ram_handler_gcc.h
blobbb6f38ea11c2d3b4be9babb2470b095286df5b83
1 /*
2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc:
6 Lang:
7 */
8 #ifndef RAM_HANDLER_GCC_H
9 #define RAM_HANDLER_GCC_H
10 #include <aros/libcall.h>
11 #include <exec/execbase.h>
12 #include <exec/io.h>
13 #include <exec/devices.h>
14 #include <dos/dos.h>
15 #include <dos/filesystem.h>
16 #include "HashTable.h"
18 struct vnode; /* Predeclaration */
20 struct rambase
22 struct Device device;
23 struct DosLibrary *dosbase;
24 struct UtilityBase *utilitybase;
25 BPTR seglist;
26 struct MsgPort *port; /* Port to put IORequests to */
27 struct SignalSemaphore *sigsem; /* Semaphore for iofs */
28 struct IOFileSys *iofs; /* IORequest to be aborted or NULL */
29 struct vnode *root; /* Root of the filesystem */
30 HashTable *notifications; /* Notification requests corresponding
31 to files and directories that
32 currently not exist */
33 struct MsgPort *notifyPort; /* Notification messages will be
34 replied here */
37 #define beginio(iob) \
38 AROS_LC1(void, beginio, AROS_LCA(struct ramrequest *, iob, A1), struct rambase *, rambase, 5, ram)
40 #define abortio(iob) \
41 AROS_LC1(LONG, abortio, AROS_LCA(struct ramrequest *, iob, A1), struct rambase *, rambase, 6, ram)
43 #endif