Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
4542 |
5550 d 5 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. |
|
/trunk/uspace/lib/libc/generic/async.c /trunk/uspace/lib/libc/include/async.h /trunk/uspace/srv/console/console.c
|
4541 |
5550 d 5 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. |
|
/trunk/uspace/app/bdsh/input.c /trunk/uspace/app/tester/console/console1.c /trunk/uspace/app/tetris/screen.c /trunk/uspace/lib/libc/generic/io/io.c /trunk/uspace/lib/libc/include/stdio.h
|
4535 |
5551 d 14 h |
jermar |
/trunk/uspace/lib/libc/ |
On condvar signal/broadcast, dequeue the waiting fibril from the waiters list.
Add FIBRIL_CONDVAR_INITIALIZE. |
|
/trunk/uspace/lib/libc/generic/fibril_sync.c /trunk/uspace/lib/libc/include/fibril_sync.h
|
4528 |
5553 d 7 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 '__'. |
|
/trunk/uspace/lib/libc/arch/arm32/include/tls.h /trunk/uspace/lib/libc/generic/async.c /trunk/uspace/lib/libc/generic/fibril.c /trunk/uspace/lib/libc/include/fibril.h /trunk/uspace/srv/fb/fb.c /trunk/uspace/srv/vfs/vfs_file.c
|
4527 |
5553 d 9 h |
jermar |
/trunk/uspace/lib/libc/ |
Condition variables for fibrils. |
|
/trunk/uspace/lib/libc/generic/fibril_sync.c /trunk/uspace/lib/libc/include/fibril_sync.h
|
4526 |
5554 d 6 h |
jermar |
/trunk/uspace/lib/libc/ |
Implement readers-writer locks for fibrils. |
|
/trunk/uspace/lib/libc/generic/fibril_sync.c /trunk/uspace/lib/libc/include/fibril.h /trunk/uspace/lib/libc/include/fibril_sync.h
|
4522 |
5555 d 8 h |
decky |
/trunk/uspace/lib/libc/ |
remove obsolete comment
cstyle |
|
/trunk/uspace/lib/libc/generic/fibril.c /trunk/uspace/lib/libc/include/fibril_sync.h
|
4516 |
5556 d 5 h |
jermar |
/trunk/uspace/lib/libc/ |
Add simple synchronization primitives to be used with fibrils.
Provided are mutexes and dummy rwlocks. |
|
/trunk/uspace/lib/libc/generic/fibril_sync.c /trunk/uspace/lib/libc/include/fibril_sync.h
|
4514 |
5556 d 16 h |
decky |
/trunk/uspace/lib/libc/ |
simple implementation of fdopen() and rewind() |
|
/trunk/uspace/lib/libc/generic/io/io.c /trunk/uspace/lib/libc/include/stdio.h
|
4509 |
5557 d 13 h |
decky |
/trunk/uspace/ |
rename libadt -> adt |
|
/trunk/uspace/lib/libc/generic/adt /trunk/uspace/lib/libc/include/adt
/trunk/uspace/lib/libc/generic/libadt /trunk/uspace/lib/libc/include/libadt
/trunk/uspace/app/trace/ipcp.c /trunk/uspace/app/trace/proto.c /trunk/uspace/app/trace/proto.h /trunk/uspace/lib/libblock/libblock.c /trunk/uspace/lib/libblock/libblock.h /trunk/uspace/lib/libc/Makefile /trunk/uspace/lib/libc/generic/adt/hash_table.c /trunk/uspace/lib/libc/generic/adt/list.c /trunk/uspace/lib/libc/generic/async.c /trunk/uspace/lib/libc/generic/fibril.c /trunk/uspace/lib/libc/generic/io/io.c /trunk/uspace/lib/libc/generic/ipc.c /trunk/uspace/lib/libc/include/adt/hash_table.h /trunk/uspace/lib/libc/include/fibril.h /trunk/uspace/lib/libc/include/ipc/devmap.h /trunk/uspace/lib/libc/include/stdio.h /trunk/uspace/srv/console/console.c /trunk/uspace/srv/fs/devfs/devfs_ops.c /trunk/uspace/srv/fs/fat/fat_idx.c /trunk/uspace/srv/fs/fat/fat_ops.c /trunk/uspace/srv/fs/tmpfs/tmpfs.h /trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c /trunk/uspace/srv/kbd/Makefile /trunk/uspace/srv/kbd/genarch/gsp.c /trunk/uspace/srv/kbd/generic/kbd.c /trunk/uspace/srv/kbd/include/gsp.h /trunk/uspace/srv/ns/clonable.c /trunk/uspace/srv/ns/service.c /trunk/uspace/srv/ns/task.c /trunk/uspace/srv/vfs/vfs.c /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 /trunk/uspace/srv/vfs/vfs_register.c
|
4508 |
5557 d 14 h |
decky |
/trunk/uspace/lib/libc/ |
keep a list of open files to support proper cleanup |
|
/trunk/uspace/lib/libc/generic/io/io.c /trunk/uspace/lib/libc/generic/libc.c /trunk/uspace/lib/libc/generic/task.c /trunk/uspace/lib/libc/generic/vfs/vfs.c /trunk/uspace/lib/libc/include/stdio.h /trunk/uspace/lib/libc/include/vfs/vfs.h
|
4492 |
5561 d 16 h |
jermar |
/trunk/uspace/ |
inode_t -> fdi_node_t |
|
/trunk/uspace/lib/libc/generic/io/io.c /trunk/uspace/lib/libc/generic/loader.c /trunk/uspace/lib/libc/generic/task.c /trunk/uspace/lib/libc/generic/vfs/vfs.c /trunk/uspace/lib/libc/include/loader/loader.h /trunk/uspace/lib/libc/include/loader/pcb.h /trunk/uspace/lib/libc/include/vfs/vfs.h /trunk/uspace/srv/loader/main.c
|
4491 |
5562 d 4 h |
decky |
/trunk/uspace/ |
rename libc's fs_node_t to inode_t to avoid type conflict with VFS |
|
/trunk/uspace/lib/libc/generic/io/io.c /trunk/uspace/lib/libc/generic/loader.c /trunk/uspace/lib/libc/generic/task.c /trunk/uspace/lib/libc/generic/vfs/vfs.c /trunk/uspace/lib/libc/include/loader/loader.h /trunk/uspace/lib/libc/include/loader/pcb.h /trunk/uspace/lib/libc/include/vfs/vfs.h /trunk/uspace/srv/loader/main.c
|
4482 |
5562 d 7 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 |
|
/trunk/uspace/lib/libc/generic/io/console.c /trunk/uspace/lib/libc/generic/io/klog.c /trunk/uspace/lib/libc/include/io/color.h /trunk/uspace/lib/libc/include/io/console.h /trunk/uspace/lib/libc/include/io/keycode.h /trunk/uspace/lib/libc/include/io/klog.h /trunk/uspace/lib/libc/include/io/style.h
/trunk/uspace/lib/libc/generic/console.c /trunk/uspace/lib/libc/generic/io/fprintf.c /trunk/uspace/lib/libc/generic/io/sprintf.c /trunk/uspace/lib/libc/generic/io/stdio.c /trunk/uspace/lib/libc/generic/io/stream.c /trunk/uspace/lib/libc/generic/io/vsprintf.c /trunk/uspace/lib/libc/generic/kbd.c /trunk/uspace/lib/libc/include/console /trunk/uspace/lib/libc/include/console.h /trunk/uspace/lib/libc/include/io/io.h /trunk/uspace/lib/libc/include/io/stream.h /trunk/uspace/lib/libc/include/kbd
/trunk/uspace/lib/libc/Makefile /trunk/uspace/lib/libc/generic/io/asprintf.c /trunk/uspace/lib/libc/generic/io/io.c /trunk/uspace/lib/libc/generic/io/printf.c /trunk/uspace/lib/libc/generic/io/printf_core.c /trunk/uspace/lib/libc/generic/io/snprintf.c /trunk/uspace/lib/libc/generic/io/vprintf.c /trunk/uspace/lib/libc/generic/io/vsnprintf.c /trunk/uspace/lib/libc/generic/vfs/vfs.c /trunk/uspace/lib/libc/include/dirent.h /trunk/uspace/lib/libc/include/fcntl.h /trunk/uspace/lib/libc/include/fibril.h /trunk/uspace/lib/libc/include/io/printf_core.h /trunk/uspace/lib/libc/include/stdio.h /trunk/uspace/lib/libc/include/unistd.h /trunk/uspace/lib/libc/include/vfs/vfs.h
|
4481 |
5562 d 7 h |
decky |
/trunk/uspace/lib/libc/include/ipc/ |
sync header files with implementation
coding style |
|
/trunk/uspace/lib/libc/include/ipc/vfs.h
/trunk/uspace/lib/libc/include/ipc/console.h /trunk/uspace/lib/libc/include/ipc/ipc.h /trunk/uspace/lib/libc/include/ipc/loader.h /trunk/uspace/lib/libc/include/ipc/ns.h
|
4480 |
5562 d 7 h |
decky |
/trunk/uspace/lib/libc/include/loader/ |
sync header files with implementation |
|
/trunk/uspace/lib/libc/include/loader/loader.h /trunk/uspace/lib/libc/include/loader/pcb.h
|
4479 |
5562 d 7 h |
decky |
/trunk/uspace/lib/libc/include/ |
add error constant from VFS
cleanup |
|
/trunk/uspace/lib/libc/include/errno.h
|
4475 |
5562 d 7 h |
decky |
/trunk/uspace/lib/libc/ |
async framework: add generic support for processing pending operations (in a separate fibril)
coding style |
|
/trunk/uspace/lib/libc/generic/async.c /trunk/uspace/lib/libc/include/async.h
|
4472 |
5562 d 7 h |
decky |
/trunk/uspace/lib/libc/ |
replace count_t with size_t
coding style |
|
/trunk/uspace/lib/libc/generic/string.c /trunk/uspace/lib/libc/include/string.h
|
4470 |
5562 d 8 h |
decky |
/trunk/uspace/lib/libc/ |
pass current task stdin, stdout and stderr as preset files to the loader
add task_wait() |
|
/trunk/uspace/lib/libc/generic/task.c /trunk/uspace/lib/libc/include/task.h
|