Rev 2643 | Rev 2690 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 2643 | Rev 2644 | ||
|---|---|---|---|
| Line 112... | Line 112... | ||
| 112 | break; |
112 | break; |
| 113 | } |
113 | } |
| 114 | } |
114 | } |
| 115 | } |
115 | } |
| 116 | 116 | ||
| 117 | int block_read(int dev_handle, unsigned long blkno, void *buf) |
- | |
| 118 | { |
- | |
| 119 | } |
- | |
| 120 | - | ||
| 121 | int main(int argc, char **argv) |
117 | int main(int argc, char **argv) |
| 122 | { |
118 | { |
| 123 | int vfs_phone; |
119 | int vfs_phone; |
| 124 | 120 | ||
| 125 | printf("FAT: HelenOS FAT file system server.\n"); |
121 | printf("FAT: HelenOS FAT file system server.\n"); |
| Line 135... | Line 131... | ||
| 135 | if (rc != EOK) { |
131 | if (rc != EOK) { |
| 136 | printf("Failed to register the FAT file system (%d)\n", rc); |
132 | printf("Failed to register the FAT file system (%d)\n", rc); |
| 137 | return rc; |
133 | return rc; |
| 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 | async_manager(); |
139 | async_manager(); |
| 143 | /* not reached */ |
140 | /* not reached */ |
| 144 | return 0; |
141 | return 0; |
| 145 | } |
142 | } |