- Timestamp:
- 2007-12-04T20:29:55Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9119d25
- Parents:
- 38c706cc
- Location:
- uspace/srv/fs/fat
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/fat/fat.h
r38c706cc r6364d3c 136 136 extern uint8_t *plb_ro; 137 137 138 extern void fat_lookup(ipc_callid_t, ipc_call_t *); 139 140 /* 141 * The following interfaces are rather fs-neutral and might be later moved to a 142 * dedicated library (e.g. libfs). We just wait until the interfaces stabilize 143 * and until there is more than one fs implementation. 144 */ 138 145 extern int block_read(int, unsigned long, void *); 146 extern int block_write(int, unsigned long, void *); 139 147 140 extern void fat_lookup(ipc_callid_t, ipc_call_t *); 148 extern void node_add_mp(int, unsigned long); 149 extern void node_del_mp(int, unsigned long); 150 extern bool node_is_mp(int, unsigned long); 141 151 142 152 #endif -
uspace/srv/fs/fat/fat_ops.c
r38c706cc r6364d3c 37 37 38 38 #include "fat.h" 39 #include "../../vfs/vfs.h" 39 40 #include <ipc/ipc.h> 40 41 #include <async.h> 41 42 #include <errno.h> 43 44 #define PLB_GET_CHAR(i) (plb_ro[(i) % PLB_SIZE]) 45 46 #define FAT_NAME_LEN 8 47 #define FAT_EXT_LEN 3 48 49 #define FAT_PAD ' ' 50 51 #define FAT_DENTRY_UNUSED 0x00 52 #define FAT_DENTRY_E5_ESC 0x05 53 #define FAT_DENTRY_DOT 0x2e 54 #define FAT_DENTRY_ERASED 0xe5 55 56 static int match_path_component(fat_dentry_t *dentry, unsigned index, 57 size_t len) 58 { 59 } 42 60 43 61 void fat_lookup(ipc_callid_t rid, ipc_call_t *request)
Note:
See TracChangeset
for help on using the changeset viewer.