Changeset be815bc in mainline for uspace/srv/fs/fat/fat.c
- Timestamp:
- 2007-11-25T19:42:39Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5af627fc
- Parents:
- d2e0a8cb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/fat/fat.c
rd2e0a8cb rbe815bc 37 37 */ 38 38 39 #include "fat.h" 39 40 #include <ipc/ipc.h> 40 41 #include <ipc/services.h> … … 46 47 #include "../../vfs/vfs.h" 47 48 48 #define dprintf(...) printf(__VA_ARGS__)49 49 50 50 vfs_info_t fat_vfs_info = { … … 80 80 * There are few issues with this arrangement. First, VFS can run out of 81 81 * available phones. In that case, VFS can close some other phones or use one 82 * phone for more serialized requests. Similar ly, FAT can refuse to duplicate82 * phone for more serialized requests. Similarily, FAT can refuse to duplicate 83 83 * the connection. VFS should then just make use of already existing phones and 84 84 * route its requests through them. To avoid paying the fibril creation price … … 104 104 callid = async_get_call(&call); 105 105 switch (IPC_GET_METHOD(call)) { 106 case VFS_REGISTER: 107 ipc_answer_0(callid, EOK); 108 break; 109 case VFS_LOOKUP: 110 fat_lookup(callid, &call); 111 break; 106 112 default: 107 113 ipc_answer_0(callid, ENOTSUP); … … 109 115 } 110 116 } 117 } 118 119 int block_read(int dev_handle, unsigned long blkno, void *buf) 120 { 111 121 } 112 122
Note:
See TracChangeset
for help on using the changeset viewer.