Changeset 238 for trunk/kernel/vfs/devfs.h
- Timestamp:
- Jul 19, 2017, 3:31:39 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/vfs/devfs.h
r204 r238 28 28 ////////////////////////////////////////////////////////////////////////////////////////// 29 29 // The DEVFS File System contains inodes and dentries associated to all chdev descriptors 30 // availables in the architecture. It is structured as a three levels tree structure : 30 // availables in the architecture. 31 // 32 // It is structured as a three levels tree structure : 31 33 // - The "dev" directory inode is stored in cluster_IO. It is the root of the DEVFS 32 34 // file system. The parent inode is the "/" VFS root. … … 38 40 // The parent dentry is stored in cluster_IO. 39 41 // 40 // The DEVFS file system uses the DEVFS context extension to register an extended pointer 41 // on the DEVFS "dev" inode, and and another extended pointer on the "external" inode. 42 // 43 // The DEVFS file system uses the VFS inode extension to store the pointer 44 // on the associated chdev descriptor. 42 // The DEVFS extensions to the generic VFS are the following: 43 // 1) The vfs_ctx_t "extend" field is a void* pointing on the devfs_ctx_t structure. 44 // This structure contains two extended pointers on the DEVFS "dev" directory inode, 45 // and on the "external" directory inode. 46 // 2) The vfs_inode_t "extend" field is a void*, pointing on the associated 47 // chdev descriptor. 45 48 ////////////////////////////////////////////////////////////////////////////////////////// 46 49
Note: See TracChangeset
for help on using the changeset viewer.