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
4542 5512 d 14 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 5512 d 14 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 5513 d 23 h jermar /trunk/uspace/lib/libc/ On condvar signal/broadcast, dequeue the waiting fibril from the waiters list.
Add FIBRIL_CONDVAR_INITIALIZE.
 
4528 5515 d 16 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 5515 d 18 h jermar /trunk/uspace/lib/libc/ Condition variables for fibrils.  
4526 5516 d 15 h jermar /trunk/uspace/lib/libc/ Implement readers-writer locks for fibrils.  
4523 5517 d 17 h decky /trunk/uspace/lib/libc/generic/io/ remove obsolete terminology  
4522 5517 d 17 h decky /trunk/uspace/lib/libc/ remove obsolete comment
cstyle
 
4516 5518 d 14 h jermar /trunk/uspace/lib/libc/ Add simple synchronization primitives to be used with fibrils.
Provided are mutexes and dummy rwlocks.
 
4514 5519 d 1 h decky /trunk/uspace/lib/libc/ simple implementation of fdopen() and rewind()  
4513 5519 d 16 h jermar /trunk/uspace/lib/libc/generic/ Nit.  
4512 5519 d 16 h decky /trunk/uspace/lib/libc/generic/io/ cstyle  
4511 5519 d 16 h svoboda /trunk/uspace/lib/libc/generic/io/ getchar() and fgetc() are traditionally supposed to flush stdout and stderr.  
4510 5519 d 18 h jermar /trunk/uspace/lib/libc/generic/ A little bit of cleanup and a remedy for great confusion introduced in revision 2483.  
4509 5519 d 22 h decky /trunk/uspace/ rename libadt -> adt  
4508 5519 d 23 h decky /trunk/uspace/lib/libc/ keep a list of open files to support proper cleanup  
4496 5523 d 19 h decky /trunk/uspace/ be more pedantic about undefined function prototypes (to avoid memory access traps)
add missing header files
 
4492 5524 d 2 h jermar /trunk/uspace/ inode_t -> fdi_node_t  
4491 5524 d 13 h decky /trunk/uspace/ rename libc's fs_node_t to inode_t to avoid type conflict with VFS  
4482 5524 d 16 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
 
4478 5524 d 17 h decky /trunk/uspace/lib/libc/generic/ explicit typecast  
4477 5524 d 17 h decky /trunk/uspace/lib/libc/generic/ setup stdin, stdout and stderr according to preset file nodes
cleanup
 
4476 5524 d 17 h decky /trunk/uspace/lib/libc/generic/ add support for passing preset files
cleanup
 
4475 5524 d 17 h decky /trunk/uspace/lib/libc/ async framework: add generic support for processing pending operations (in a separate fibril)
coding style
 
4474 5524 d 17 h decky /trunk/uspace/lib/libc/generic/ add serialization (just to be sure)  
4473 5524 d 17 h decky /trunk/uspace/lib/libc/generic/ avoid compiler warning  
4472 5524 d 17 h decky /trunk/uspace/lib/libc/ replace count_t with size_t
coding style
 
4471 5524 d 17 h decky /trunk/uspace/lib/libc/generic/ cstyle  
4470 5524 d 17 h decky /trunk/uspace/lib/libc/ pass current task stdin, stdout and stderr as preset files to the loader
add task_wait()
 
4469 5524 d 17 h decky /trunk/uspace/lib/libc/generic/ avoid compiler warning  
4416 5538 d 5 h decky /trunk/uspace/ improve devmap interface
remove spared device
 
4415 5538 d 5 h decky /trunk/uspace/lib/libc/ add list_count()
cstyle
 
4407 5539 d 14 h jermar /trunk/ Add IPC_M_CONNECTION_CLONE and IPC_M_CONNECT_ME.  
4404 5539 d 14 h jermar /trunk/uspace/lib/libc/generic/ Fix ipc_forward_slow().  
4403 5539 d 17 h svoboda /trunk/uspace/lib/libc/generic/ pio_enable() was not allocating address space properly (unless sz <= PAGE_SIZE).  
4401 5540 d 16 h svoboda /trunk/uspace/ C binding for devmap. Gets rid of duplicate code.  
4381 5547 d 15 h jermar /trunk/uspace/lib/libc/generic/ msg->wdata.inlist needs to be allocated before the reply_received()
callback can be called.
 
4353 5556 d 3 h svoboda /trunk/uspace/lib/libc/ klog_puts() is useful for debugging.  
4324 5564 d 20 h decky /trunk/uspace/lib/libc/ create a new fibril for each notification received, which allows to do nested async calls from the notification handler
(this fixes ticket #19 and solves various problems with klog)
 
4317 5565 d 4 h decky /trunk/ use buffering for klog output (this can be used to avoid the ugly usleeps while starting tasks)
unify and cleanup console.c and related files