Subversion Repositories HelenOS

Rev

Rev 3009 | Rev 3403 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3009 Rev 3153
Line 38... Line 38...
38
#include <atomic.h>
38
#include <atomic.h>
39
#include <sys/types.h>
39
#include <sys/types.h>
40
#include <bool.h>
40
#include <bool.h>
41
#include "../../vfs/vfs.h"
41
#include "../../vfs/vfs.h"
42
 
42
 
-
 
43
#ifndef dprintf
43
#define dprintf(...)    printf(__VA_ARGS__)
44
#define dprintf(...)    printf(__VA_ARGS__)
-
 
45
#endif
44
 
46
 
45
typedef struct {
47
typedef struct {
46
    uint8_t     ji[3];      /**< Jump instruction. */
48
    uint8_t     ji[3];      /**< Jump instruction. */
47
    uint8_t     oem_name[8];
49
    uint8_t     oem_name[8];
48
    /* BIOS Parameter Block */
50
    /* BIOS Parameter Block */
Line 215... Line 217...
215
    bool            dirty;
217
    bool            dirty;
216
} fat_node_t;
218
} fat_node_t;
217
 
219
 
218
extern fs_reg_t fat_reg;
220
extern fs_reg_t fat_reg;
219
 
221
 
-
 
222
extern void fat_mounted(ipc_callid_t, ipc_call_t *);
-
 
223
extern void fat_mount(ipc_callid_t, ipc_call_t *);
220
extern void fat_lookup(ipc_callid_t, ipc_call_t *);
224
extern void fat_lookup(ipc_callid_t, ipc_call_t *);
221
 
225
 
222
extern fat_idx_t *fat_idx_get_by_pos(dev_handle_t, fat_cluster_t, unsigned);
226
extern fat_idx_t *fat_idx_get_by_pos(dev_handle_t, fat_cluster_t, unsigned);
223
extern fat_idx_t *fat_idx_get_by_index(dev_handle_t, fs_index_t);
227
extern fat_idx_t *fat_idx_get_by_index(dev_handle_t, fs_index_t);
224
 
228
 
-
 
229
extern int fat_idx_init(void);
-
 
230
extern void fat_idx_fini(void);
-
 
231
extern int fat_idx_init_by_dev_handle(dev_handle_t);
-
 
232
extern void fat_idx_fini_by_dev_handle(dev_handle_t);
-
 
233
 
225
#endif
234
#endif
226
 
235
 
227
/**
236
/**
228
 * @}
237
 * @}
229
 */
238
 */