Changeset 37e7dc54 in mainline for uspace/srv/fs/fat/fat.c
- Timestamp:
- 2007-09-27T15:27:53Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6c117bb
- Parents:
- bcf23cf
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/fat/fat.c
rbcf23cf r37e7dc54 43 43 #include <unistd.h> 44 44 #include <stdio.h> 45 #include <as.h>> 45 46 #include "../../vfs/vfs.h" 46 47 … … 62 63 } 63 64 }; 65 66 uint8_t *plb_ro = NULL; 64 67 65 68 /** … … 142 145 143 146 /* 147 * Allocate piece of address space for PLB. 148 */ 149 plb_ro = as_get_mappable_page(PLB_SIZE); 150 if (!plb_ro) { 151 async_wait_for(req, NULL); 152 return ENOMEM; 153 } 154 155 /* 156 * Request sharing the Path Lookup Buffer with VFS. 157 */ 158 rc = ipc_call_sync_3(vfs_phone, IPC_M_AS_AREA_RECV, plb_ro, PLB_SIZE, 0, 159 NULL, NULL, NULL); 160 if (rc) { 161 async_wait_for(req, NULL); 162 return rc; 163 } 164 165 /* 144 166 * Create a connection fibril to handle the callback connection. 145 167 */
Note:
See TracChangeset
for help on using the changeset viewer.