Subversion Repositories HelenOS

Rev

Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
4684 5425 d 18 h svoboda /trunk/ Even more warnings.  
4680 5425 d 21 h svoboda /trunk/uspace/ Fix some warnings.  
4671 5430 d 4 h decky /trunk/uspace/lib/libc/generic/ the size argument to split_mark() should include the header and footer size  
4644 5444 d 18 h svoboda /trunk/ Method for getting console color capabilities. Use to fix invisible tetris pieces.  
4643 5445 d 7 h jermar /trunk/uspace/lib/libc/generic/ realloc() should really check whether the next block is indeed free.  
4642 5445 d 18 h svoboda /trunk/uspace/lib/libc/generic/ Fix alignment errors in realloc().  
4635 5448 d 1 h jermar /trunk/ Things are much easier when the compiler knows that context_save() returns twice.  
4633 5448 d 17 h jermar /trunk/uspace/lib/libc/generic/ In fibril_switch(), make sure to reload srcf with the current fibril address
in the post-context_restore() code. Its value may be invalid after
contex_restore() due to e.g. register recycling.
 
4620 5452 d 19 h svoboda /trunk/uspace/ Allow to determine whether a task returned value before terminatign.  
4618 5452 d 20 h svoboda /trunk/uspace/ Pass task ID to NS from loader. This prevents ID spoofing by user apps.  
4617 5453 d 0 h svoboda /trunk/uspace/ Allow task to return value (will be improved).  
4607 5457 d 1 h jermar /trunk/uspace/lib/libc/generic/ Fix typos.  
4606 5457 d 1 h decky /trunk/uspace/lib/libc/generic/ small allocator optimization
add some comments
 
4601 5459 d 0 h decky /trunk/uspace/lib/libc/ small fixes and coding style changes related to the new memory allocator  
4600 5459 d 0 h decky /trunk/uspace/lib/libc/generic/ implement simple first-fit memory allocator
(modified from original code by Petr Tuma, used under permission)
 
4591 5460 d 0 h decky /trunk/uspace/ add support for creating null devices on demand  
4590 5460 d 6 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 5460 d 18 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.
 
4585 5460 d 21 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 5461 d 2 h jermar /trunk/uspace/ Separate the VFS input and output protocols.  
4556 5471 d 7 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
 
4549 5472 d 18 h svoboda /trunk/uspace/ Fix assorted warnings and tiny glitches.  
4542 5473 d 18 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 5473 d 18 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 5475 d 3 h jermar /trunk/uspace/lib/libc/ On condvar signal/broadcast, dequeue the waiting fibril from the waiters list.
Add FIBRIL_CONDVAR_INITIALIZE.
 
4528 5476 d 20 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 5476 d 22 h jermar /trunk/uspace/lib/libc/ Condition variables for fibrils.  
4526 5477 d 19 h jermar /trunk/uspace/lib/libc/ Implement readers-writer locks for fibrils.  
4523 5478 d 21 h decky /trunk/uspace/lib/libc/generic/io/ remove obsolete terminology  
4522 5478 d 21 h decky /trunk/uspace/lib/libc/ remove obsolete comment
cstyle
 
4516 5479 d 18 h jermar /trunk/uspace/lib/libc/ Add simple synchronization primitives to be used with fibrils.
Provided are mutexes and dummy rwlocks.
 
4514 5480 d 5 h decky /trunk/uspace/lib/libc/ simple implementation of fdopen() and rewind()  
4513 5480 d 20 h jermar /trunk/uspace/lib/libc/generic/ Nit.  
4512 5480 d 20 h decky /trunk/uspace/lib/libc/generic/io/ cstyle  
4511 5480 d 20 h svoboda /trunk/uspace/lib/libc/generic/io/ getchar() and fgetc() are traditionally supposed to flush stdout and stderr.  
4510 5480 d 22 h jermar /trunk/uspace/lib/libc/generic/ A little bit of cleanup and a remedy for great confusion introduced in revision 2483.  
4509 5481 d 2 h decky /trunk/uspace/ rename libadt -> adt  
4508 5481 d 3 h decky /trunk/uspace/lib/libc/ keep a list of open files to support proper cleanup  
4496 5484 d 23 h decky /trunk/uspace/ be more pedantic about undefined function prototypes (to avoid memory access traps)
add missing header files
 
4492 5485 d 6 h jermar /trunk/uspace/ inode_t -> fdi_node_t