Subversion Repositories HelenOS

Rev

Hide changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff Changes
4585 5453 d 17 h jermar /trunk/uspace/ Introduce VFS_IN_FSTAT and VFS_OUT_STAT.
Provide libc fstat() and devfs_stat().
This functionality replaces VFS_IN_NODE
and VFS_IN/OUT_DEVICE. FAT and TMPFS
still do not implement this and VFS_IN_STAT
and stat() need implementation as well.
 
/trunk/uspace/lib/libc/generic/vfs/vfs.c
/trunk/uspace/lib/libc/include/ipc/vfs.h
/trunk/uspace/lib/libc/include/sys/stat.h
/trunk/uspace/srv/fs/devfs/devfs.c
/trunk/uspace/srv/fs/devfs/devfs_ops.c
/trunk/uspace/srv/fs/devfs/devfs_ops.h
/trunk/uspace/srv/fs/fat/fat.c
/trunk/uspace/srv/fs/fat/fat.h
/trunk/uspace/srv/fs/fat/fat_ops.c
/trunk/uspace/srv/fs/tmpfs/tmpfs.c
/trunk/uspace/srv/fs/tmpfs/tmpfs.h
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
/trunk/uspace/srv/vfs/vfs.c
/trunk/uspace/srv/vfs/vfs.h
/trunk/uspace/srv/vfs/vfs_ops.c
4464 5478 d 17 h decky /trunk/uspace/srv/fs/devfs/ devfs rewrite:
- implement VFS_OPEN_NODE, VFS_DEVICE, VFS_SYNC, VFS_CLOSE
- connect to underlying device during VFS_LOOKUP (if L_OPEN flag is used) and VFS_OPEN_NODE
- disconnect from underlying device during VFS_CLOSE
- forward VFS_READ, VFS_WRITE and VFS_SYNC to the underlying device
- VFS_DEVICE: return underlying device handle
 
/trunk/uspace/srv/fs/devfs/devfs.c
/trunk/uspace/srv/fs/devfs/devfs_ops.c
/trunk/uspace/srv/fs/devfs/devfs_ops.h
4417 5492 d 5 h decky /trunk/ add simple devfs filesystem and mount it as /dev
add generic NULL device "null"
 
/trunk/uspace/dist/dev
/trunk/uspace/srv/fs/devfs
/trunk/uspace/srv/fs/devfs/Makefile
/trunk/uspace/srv/fs/devfs/devfs.c
/trunk/uspace/srv/fs/devfs/devfs.h
/trunk/uspace/srv/fs/devfs/devfs_ops.c
/trunk/uspace/srv/fs/devfs/devfs_ops.h
/trunk/boot/arch/amd64/Makefile.inc
/trunk/boot/arch/arm32/loader/Makefile
/trunk/boot/arch/ia32/Makefile.inc
/trunk/boot/arch/ia64/loader/Makefile
/trunk/boot/arch/mips32/loader/Makefile
/trunk/boot/arch/ppc32/loader/Makefile
/trunk/boot/arch/sparc64/loader/Makefile
/trunk/uspace/Makefile
/trunk/uspace/app/init/init.c