2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
8 #ifndef RAM_HANDLER_GCC_H
9 #define RAM_HANDLER_GCC_H
10 #include <aros/libcall.h>
11 #include <exec/execbase.h>
13 #include <exec/devices.h>
15 #include <dos/filesystem.h>
16 #include "HashTable.h"
18 struct vnode
; /* Predeclaration */
23 struct DosLibrary
*dosbase
;
24 struct UtilityBase
*utilitybase
;
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
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)