Subversion Repositories HelenOS

Rev

Go to most recent revision | Hide changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff Changes
2787 5952 d 11 h decky /branches/tracing/ add dynamic linking, debugging and tracing branch  
/branches/tracing
/branches/tracing/kernel/arch/ia32/include/tdebug.h
/branches/tracing/kernel/arch/ia32/src/tdebug.c
/branches/tracing/kernel/generic/include/tdebug
/branches/tracing/kernel/generic/include/tdebug/systdebug.h
/branches/tracing/kernel/generic/include/tdebug/tdebug.h
/branches/tracing/kernel/generic/include/tdebug/tdebug_type.h
/branches/tracing/kernel/generic/src/tdebug
/branches/tracing/kernel/generic/src/tdebug/systdebug.c
/branches/tracing/kernel/generic/src/tdebug/tdebug.c
/branches/tracing/uspace/app/tester/tdebug
/branches/tracing/uspace/app/tester/tdebug/tdebug1.c
/branches/tracing/uspace/app/tester/tdebug/tdebug1.def
/branches/tracing/uspace/lib/libc/generic/tdebug.c
/branches/tracing/uspace/lib/libc/include/tdebug.h
/branches/tracing/kernel/Makefile
/branches/tracing/kernel/arch/ia32/Makefile.inc
/branches/tracing/kernel/doc/doxygroups.h
/branches/tracing/kernel/generic/include/proc/task.h
/branches/tracing/kernel/generic/include/proc/tasklet.h
/branches/tracing/kernel/generic/include/proc/thread.h
/branches/tracing/kernel/generic/include/syscall/syscall.h
/branches/tracing/kernel/generic/src/interrupt/interrupt.c
/branches/tracing/kernel/generic/src/proc/task.c
/branches/tracing/kernel/generic/src/proc/thread.c
/branches/tracing/kernel/generic/src/syscall/syscall.c
/branches/tracing/uspace/app/tester/Makefile
/branches/tracing/uspace/app/tester/tester.h
/branches/tracing/uspace/app/tetris/tetris.c
/branches/tracing/uspace/lib/libc/Makefile
2766 5970 d 8 h jermar /trunk/uspace/srv/vfs/ Grab the nodes_futex when manipulating node link counts in rename() and
_unlink().

Fix VFS futex definitions and declarations by replacing atomic_t by futex_t.
 
/trunk/uspace/srv/vfs/vfs.h
/trunk/uspace/srv/vfs/vfs_lookup.c
/trunk/uspace/srv/vfs/vfs_node.c
/trunk/uspace/srv/vfs/vfs_ops.c
2742 5983 d 5 h jermar /trunk/uspace/srv/ Separate creation of a TMPFS node and its linking in the file system name space.
Rename VFS_FREE to VFS_DESTROY and destroy_node() to unlink_node().
 
/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.h
/trunk/uspace/srv/vfs/vfs_node.c
/trunk/uspace/srv/vfs/vfs_ops.c
2740 5989 d 6 h jermar /trunk/uspace/srv/vfs/ Initialize the VFS node properly.  
/trunk/uspace/srv/vfs/vfs_node.c
2731 5991 d 14 h jermar /trunk/uspace/srv/ Add the VFS_FREE operation. This operation frees up whatever resources used by
a file system node for which there is no name (i.e. an unlinked node).

Cleanup VFS operations enums and remove unneeded VFS operations.
 
/trunk/uspace/srv/fs/fat/fat.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.h
/trunk/uspace/srv/vfs/vfs_file.c
/trunk/uspace/srv/vfs/vfs_node.c
/trunk/uspace/srv/vfs/vfs_register.c
2730 5992 d 16 h jermar /trunk/uspace/srv/ Introduce the notion of VFS node link counts.  
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
/trunk/uspace/srv/vfs/vfs.h
/trunk/uspace/srv/vfs/vfs_lookup.c
/trunk/uspace/srv/vfs/vfs_node.c
2691 6030 d 8 h jermar /trunk/uspace/srv/vfs/ Improve the API for converting (VFS triplets, size) to VFS nodes by introducing
a new type for results of vfs_lookup_internal().
 
/trunk/uspace/srv/vfs/vfs.h
/trunk/uspace/srv/vfs/vfs_node.c
/trunk/uspace/srv/vfs/vfs_ops.c
2687 6031 d 7 h jermar /trunk/uspace/srv/ Management of the cached VFS node size.  
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
/trunk/uspace/srv/vfs/vfs.h
/trunk/uspace/srv/vfs/vfs_lookup.c
/trunk/uspace/srv/vfs/vfs_mount.c
/trunk/uspace/srv/vfs/vfs_node.c
/trunk/uspace/srv/vfs/vfs_open.c
/trunk/uspace/srv/vfs/vfs_rdwr.c
2680 6033 d 15 h jermar /trunk/uspace/ Add basic rwlock API for uspace so that VFS can be designed/implemented using
this API. So far, the implementation of this API merely wraps futexes into
rwlocks. Real rwlocks are wanted by ticket #54.

Using the new rwlock API, replace the VFS node content futex with an rwlock.
Lock the contents rwlock as reader on reads and as writer on writes.
 
/trunk/uspace/lib/libc/include/rwlock.h
/trunk/uspace/srv/vfs/vfs.h
/trunk/uspace/srv/vfs/vfs_node.c
/trunk/uspace/srv/vfs/vfs_rdwr.c
2679 6037 d 7 h jermar /trunk/uspace/srv/vfs/ Rename unlink_futex to namespace_futex and introduce a new futex for serializing
concurrent access to a VFS node's contents by multiple clients.
 
/trunk/uspace/srv/vfs/vfs.h
/trunk/uspace/srv/vfs/vfs_mount.c
/trunk/uspace/srv/vfs/vfs_node.c
/trunk/uspace/srv/vfs/vfs_open.c
/trunk/uspace/srv/vfs/vfs_rdwr.c
/trunk/uspace/srv/vfs/vfs_unlink.c
2652 6051 d 11 h jermar /trunk/uspace/srv/vfs/ VFS work.
Fix VFS node hash function to hash only within the limits of its supposed
ranges.
 
/trunk/uspace/srv/vfs/vfs_node.c
2596 6094 d 10 h jermar /trunk/uspace/srv/vfs/ VFS work.
Implement VFS node hash table management.
 
/trunk/uspace/srv/vfs/vfs.c
/trunk/uspace/srv/vfs/vfs.h
/trunk/uspace/srv/vfs/vfs_node.c
2593 6096 d 8 h jermar /trunk/uspace/srv/vfs/ A lot of more VFS prototyping.
VFS_OPEN gets reasonably complete, fix a limitation that prevented file
structures from being shared by multiple file descriptors, add functions for
file descriptor management, introduce unlink_futex and two new VFS operations
VFS_UNLINK and VFS_RENAME.
 
/trunk/uspace/srv/vfs/vfs_file.c
/trunk/uspace/srv/vfs/vfs_unlink.c
/trunk/uspace/srv/vfs/Makefile
/trunk/uspace/srv/vfs/vfs.c
/trunk/uspace/srv/vfs/vfs.h
/trunk/uspace/srv/vfs/vfs_node.c
/trunk/uspace/srv/vfs/vfs_open.c
2590 6097 d 10 h jermar /trunk/uspace/srv/vfs/ VFS work.
Start implementing VFS side of VFS_OPEN.
Add vfs_node.c to contain VFS node related internal functions.
 
/trunk/uspace/srv/vfs/vfs_node.c
/trunk/uspace/srv/vfs/Makefile
/trunk/uspace/srv/vfs/vfs.h
/trunk/uspace/srv/vfs/vfs_lookup.c
/trunk/uspace/srv/vfs/vfs_mount.c
/trunk/uspace/srv/vfs/vfs_open.c
/trunk/uspace/srv/vfs/vfs_register.c