Subversion Repositories HelenOS

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
2684 5981 d 14 h jermar /trunk/ Add libc and VFS implementation of lseek(), VFS_SEEK resp.
Add the size member to the VFS node structure (not yet initialized).
 
2683 5981 d 17 h jermar /trunk/uspace/srv/vfs/ Introduce the open file lock. Modify vfs_rdwr() to take this lock into account
when reading or writing from/to an open file.
 
2680 5981 d 21 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.
 
2679 5985 d 13 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.
 
2676 5987 d 23 h jermar /trunk/ Simplify the IPC_M_DATA_WRITE protocol. Do not pass the source address space
virtual address to the recipient. This feature was not used anyway. Now
IPC_M_DATA_WRITE and IPC_M_DATA_READ are feature-aligned.
 
2666 5993 d 14 h jermar /trunk/uspace/srv/ VFS and TMPFS support for VFS_WRITE.  
2663 5995 d 12 h jermar /trunk/uspace/ Reimplement VFS_READ using IPC_M_DATA_READ.  
2659 5996 d 10 h jermar /trunk/uspace/srv/vfs/ After VFS_READ, update the position pointer in the open file.  
2658 5996 d 11 h jermar /trunk/uspace/srv/ VFS work.
Foundation for TMPFS-side VFS_READ and fixes in VFS-side VFS_READ.
 
2635 6016 d 14 h cejka /trunk/ Function ipc_connect_me_to sends 3 user defined arguments now.
One argument added also to ipc_forward_fast.
Fixed devmap and improved its test.
 
2625 6024 d 15 h jermar /trunk/uspace/srv/vfs/ VFS work.
Proto implementation of VFS_READ.