Changeset 0c82d28 in mainline
- Timestamp:
- 2007-12-16T17:16:12Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d5cdffe
- Parents:
- efd4a72
- Location:
- uspace
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libfs/libfs.h
refd4a72 r0c82d28 50 50 extern int fs_register(int, fs_reg_t *, vfs_info_t *, async_client_conn_t); 51 51 52 extern int block_read(int, unsigned long, void *); 53 extern int block_write(int, unsigned long, void *); 54 55 extern void node_add_mp(int, unsigned long); 56 extern void node_del_mp(int, unsigned long); 57 extern bool node_is_mp(int, unsigned long); 52 58 #endif 53 59 -
uspace/srv/fs/fat/fat.c
refd4a72 r0c82d28 115 115 } 116 116 117 int block_read(int dev_handle, unsigned long blkno, void *buf)118 {119 }120 121 117 int main(int argc, char **argv) 122 118 { … … 138 134 } 139 135 140 dprintf("FAT filesystem registered, fs_handle=%d.\n", fat_reg.fs_handle); 136 dprintf("FAT filesystem registered, fs_handle=%d.\n", 137 fat_reg.fs_handle); 141 138 142 139 async_manager(); -
uspace/srv/fs/fat/fat.h
refd4a72 r0c82d28 139 139 extern void fat_lookup(ipc_callid_t, ipc_call_t *); 140 140 141 /*142 * The following interfaces are rather fs-neutral and might be later moved to a143 * dedicated library (e.g. libfs). We just wait until the interfaces stabilize144 * and until there is more than one fs implementation.145 */146 extern int block_read(int, unsigned long, void *);147 extern int block_write(int, unsigned long, void *);148 149 extern void node_add_mp(int, unsigned long);150 extern void node_del_mp(int, unsigned long);151 extern bool node_is_mp(int, unsigned long);152 153 141 #endif 154 142
Note:
See TracChangeset
for help on using the changeset viewer.