Subversion Repositories HelenOS

Rev

Go to most recent revision | Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
4591 5470 d 14 h decky /trunk/uspace/ add support for creating null devices on demand  
4590 5470 d 21 h decky /trunk/uspace/lib/libc/generic/io/ set buffering according to what file descriptor we are opening
(this still does not cover the full complexity of stdio buffering)
 
4587 5471 d 8 h jermar /trunk/uspace/ Implement stat() and VFS_IN_STAT.
Modify bdsh() to use stat() during ls.
In devfs, allow lookups that don't
specify one of L_FILE and L_DIRECTORY.
 
4586 5471 d 11 h jermar /trunk/uspace/ Add libfs_stat() and let FAT and TMPFS use it.  
4585 5471 d 11 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.
 
4584 5471 d 16 h jermar /trunk/uspace/ Separate the VFS input and output protocols.  
4583 5471 d 18 h svoboda /trunk/uspace/ Fix chaos in block library.  
4572 5473 d 8 h svoboda /trunk/uspace/ Allow libblock to operate in write-through mode. With 'wtcache' mount option, FAT sets write-through mode on the cache.  
4556 5481 d 21 h decky /trunk/ define endianess externally to be able to exactly specify whether we are using UTF-32LE or UTF-32BE
quit messing with BOM in UTF-32
 
4553 5482 d 8 h jermar /trunk/uspace/lib/libblock/ Use fibril synchronization in libblock.  
4550 5482 d 9 h jermar /trunk/uspace/lib/libblock/ Disk I/O should be serialized until libblock switches to fibril synchronization.  
4549 5483 d 8 h svoboda /trunk/uspace/ Fix assorted warnings and tiny glitches.  
4542 5484 d 8 h jermar /trunk/uspace/ Handle pending input using only one fibril.
Relax serialization in console, keep your fingers crossed.
Do not create a new "pending" fibril after each received call.
 
4541 5484 d 8 h svoboda /trunk/uspace/ Stdio stream buffering (only for writing a.t.m.) Issue: Do we need two moving delimiters (head, tail) to recover from error or is one moving data delimiter enough, like in the current implementation? (Where the buffer must be drained as a whole, cannot do it part at a time.  
4535 5485 d 17 h jermar /trunk/uspace/lib/libc/ On condvar signal/broadcast, dequeue the waiting fibril from the waiters list.
Add FIBRIL_CONDVAR_INITIALIZE.
 
4528 5487 d 10 h svoboda /trunk/uspace/ Use 'fibril_local' modifier for fibril-local variables instead of '__thread'. Since it is decalred in fibril.h, it need not begin with '__'.  
4527 5487 d 12 h jermar /trunk/uspace/lib/libc/ Condition variables for fibrils.  
4526 5488 d 9 h jermar /trunk/uspace/lib/libc/ Implement readers-writer locks for fibrils.  
4523 5489 d 11 h decky /trunk/uspace/lib/libc/generic/io/ remove obsolete terminology  
4522 5489 d 11 h decky /trunk/uspace/lib/libc/ remove obsolete comment
cstyle
 
4517 5490 d 8 h jermar /trunk/uspace/lib/libc/ Include fibril synchronization primitives in libc build.  
4516 5490 d 8 h jermar /trunk/uspace/lib/libc/ Add simple synchronization primitives to be used with fibrils.
Provided are mutexes and dummy rwlocks.
 
4514 5490 d 19 h decky /trunk/uspace/lib/libc/ simple implementation of fdopen() and rewind()  
4513 5491 d 10 h jermar /trunk/uspace/lib/libc/generic/ Nit.  
4512 5491 d 10 h decky /trunk/uspace/lib/libc/generic/io/ cstyle  
4511 5491 d 10 h svoboda /trunk/uspace/lib/libc/generic/io/ getchar() and fgetc() are traditionally supposed to flush stdout and stderr.  
4510 5491 d 12 h jermar /trunk/uspace/lib/libc/generic/ A little bit of cleanup and a remedy for great confusion introduced in revision 2483.  
4509 5491 d 16 h decky /trunk/uspace/ rename libadt -> adt  
4508 5491 d 17 h decky /trunk/uspace/lib/libc/ keep a list of open files to support proper cleanup  
4496 5495 d 13 h decky /trunk/uspace/ be more pedantic about undefined function prototypes (to avoid memory access traps)
add missing header files
 
4492 5495 d 20 h jermar /trunk/uspace/ inode_t -> fdi_node_t  
4491 5496 d 7 h decky /trunk/uspace/ rename libc's fs_node_t to inode_t to avoid type conflict with VFS  
4484 5496 d 10 h decky /trunk/uspace/lib/libfs/ add libfs_open_node() helper function
cleanup
 
4483 5496 d 10 h decky /trunk/uspace/lib/libblock/ add missing include  
4482 5496 d 10 h decky /trunk/uspace/lib/libc/ I/O subsystem overhaul:
- add more POSIX-like file and stream functions (with real functionality of stdin, stdout, stderr)
- cleanup console access methods (now generic to any console-like device)
- remove unsafe stream functions
- add special open_node(), fd_node(), fd_phone() (file) and fopen_node(), fnode(), fphone() (stream) functions for HelenOS-specific I/O operations
 
4481 5496 d 11 h decky /trunk/uspace/lib/libc/include/ipc/ sync header files with implementation
coding style
 
4480 5496 d 11 h decky /trunk/uspace/lib/libc/include/loader/ sync header files with implementation  
4479 5496 d 11 h decky /trunk/uspace/lib/libc/include/ add error constant from VFS
cleanup
 
4478 5496 d 11 h decky /trunk/uspace/lib/libc/generic/ explicit typecast  
4477 5496 d 11 h decky /trunk/uspace/lib/libc/generic/ setup stdin, stdout and stderr according to preset file nodes
cleanup