Rev 2638 | Rev 2644 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2638 | Rev 2643 | ||
---|---|---|---|
Line 32... | Line 32... | ||
32 | 32 | ||
33 | #ifndef FAT_FAT_H_ |
33 | #ifndef FAT_FAT_H_ |
34 | #define FAT_FAT_H_ |
34 | #define FAT_FAT_H_ |
35 | 35 | ||
36 | #include <ipc/ipc.h> |
36 | #include <ipc/ipc.h> |
- | 37 | #include <libfs.h> |
|
37 | #include <atomic.h> |
38 | #include <atomic.h> |
38 | #include <sys/types.h> |
39 | #include <sys/types.h> |
39 | #include <bool.h> |
40 | #include <bool.h> |
40 | 41 | ||
41 | #define dprintf(...) printf(__VA_ARGS__) |
42 | #define dprintf(...) printf(__VA_ARGS__) |
Line 131... | Line 132... | ||
131 | uint16_t firstc_lo; /* FAT32 */ |
132 | uint16_t firstc_lo; /* FAT32 */ |
132 | }; |
133 | }; |
133 | uint32_t size; |
134 | uint32_t size; |
134 | } __attribute__ ((packed)) fat_dentry_t; |
135 | } __attribute__ ((packed)) fat_dentry_t; |
135 | 136 | ||
136 | extern uint8_t *plb_ro; |
137 | extern fs_reg_t fat_reg; |
137 | 138 | ||
138 | extern void fat_lookup(ipc_callid_t, ipc_call_t *); |
139 | extern void fat_lookup(ipc_callid_t, ipc_call_t *); |
139 | 140 | ||
140 | /* |
141 | /* |
141 | * The following interfaces are rather fs-neutral and might be later moved to a |
142 | * The following interfaces are rather fs-neutral and might be later moved to a |