Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
4482 |
5548 d 18 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 |
5548 d 18 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 |
5548 d 18 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 |
5548 d 18 h |
decky |
/trunk/uspace/lib/libc/include/ |
add error constant from VFS
cleanup |
|
/trunk/uspace/lib/libc/include/errno.h
|
4475 |
5548 d 18 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 |
5548 d 18 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 |
5548 d 18 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
|
4453 |
5548 d 19 h |
decky |
/trunk/uspace/lib/libc/include/ |
port macros from kernel |
|
/trunk/uspace/lib/libc/include/macros.h
|
4416 |
5562 d 6 h |
decky |
/trunk/uspace/ |
improve devmap interface
remove spared device |
|
/trunk/uspace/app/tester/devmap/devmap1.c /trunk/uspace/lib/libc/generic/devmap.c /trunk/uspace/lib/libc/include/devmap.h /trunk/uspace/lib/libc/include/ipc/devmap.h /trunk/uspace/srv/bd/gxe_bd/gxe_bd.c /trunk/uspace/srv/devmap/devmap.c /trunk/uspace/srv/rd/rd.c
|
4415 |
5562 d 6 h |
decky |
/trunk/uspace/lib/libc/ |
add list_count()
cstyle |
|
/trunk/uspace/lib/libc/generic/libadt/list.c /trunk/uspace/lib/libc/include/libadt/list.h
|
4401 |
5564 d 17 h |
svoboda |
/trunk/uspace/ |
C binding for devmap. Gets rid of duplicate code. |
|
/trunk/uspace/lib/libc/generic/devmap.c /trunk/uspace/lib/libc/include/devmap.h
/trunk/uspace/app/tester/devmap/devmap1.c /trunk/uspace/lib/libblock/libblock.c /trunk/uspace/lib/libc/Makefile /trunk/uspace/lib/libc/generic/vfs/vfs.c /trunk/uspace/lib/libc/include/ipc/devmap.h /trunk/uspace/lib/libc/include/vfs/vfs.h /trunk/uspace/srv/rd/rd.c /trunk/uspace/srv/vfs/vfs.h
|
4400 |
5564 d 20 h |
svoboda |
/trunk/uspace/ |
Rename ramdisk protocol -> block device protocol. |
|
/trunk/uspace/lib/libc/include/ipc/bd.h
/trunk/uspace/srv/rd/rd.h
/trunk/uspace/lib/libblock/libblock.c /trunk/uspace/srv/rd/rd.c
|
4365 |
5575 d 2 h |
jermar |
/trunk/uspace/lib/libc/include/ |
Fix doxygen comments. |
|
/trunk/uspace/lib/libc/include/string.h
|
4353 |
5580 d 4 h |
svoboda |
/trunk/uspace/lib/libc/ |
klog_puts() is useful for debugging. |
|
/trunk/uspace/lib/libc/generic/io/stream.c /trunk/uspace/lib/libc/include/io/stream.h
|
4326 |
5588 d 17 h |
svoboda |
/trunk/uspace/ |
Use better method names. |
|
/trunk/uspace/lib/libc/include/ipc/fb.h /trunk/uspace/srv/console/console.c /trunk/uspace/srv/fb/ega.c /trunk/uspace/srv/fb/fb.c /trunk/uspace/srv/fb/serial_console.c
|
4325 |
5588 d 17 h |
svoboda |
/trunk/uspace/ |
Better switch to kcon on serial console -- relinquish/reclaim screen before/after switching to kcon. |
|
/trunk/uspace/lib/libc/include/ipc/fb.h /trunk/uspace/srv/console/console.c /trunk/uspace/srv/fb/ega.c /trunk/uspace/srv/fb/fb.c /trunk/uspace/srv/fb/serial_console.c
|
4324 |
5588 d 21 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) |
|
/trunk/uspace/lib/libc/generic/async.c /trunk/uspace/lib/libc/include/async.h
|
4317 |
5589 d 5 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 |
|
/trunk/kernel/generic/src/main/kinit.c /trunk/uspace/app/init/init.c /trunk/uspace/app/tetris/input.c /trunk/uspace/lib/libc/generic/console.c /trunk/uspace/lib/libc/generic/io/io.c /trunk/uspace/lib/libc/generic/io/stream.c /trunk/uspace/lib/libc/generic/io/vprintf.c /trunk/uspace/lib/libc/generic/kbd.c /trunk/uspace/lib/libc/generic/libc.c /trunk/uspace/lib/libc/include/console.h /trunk/uspace/lib/libc/include/io/stream.h
|
4305 |
5594 d 22 h |
jermar |
/trunk/uspace/ |
Support mount options.
Let tmpfs decide whether to start empty or restored a TMPFS dump based on the mount option. |
|
/trunk/uspace/app/init/init.c /trunk/uspace/app/tester/vfs/vfs1.c /trunk/uspace/lib/libc/generic/vfs/vfs.c /trunk/uspace/lib/libc/include/vfs/vfs.h /trunk/uspace/srv/fs/fat/fat_ops.c /trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c /trunk/uspace/srv/vfs/vfs.h /trunk/uspace/srv/vfs/vfs_ops.c
|
4293 |
5597 d 1 h |
decky |
/trunk/uspace/lib/libc/ |
don't forget to flush the console after the application finishes
(yes, this is not very elegant, but until we have a proper stdin/stdout/stderr, the whole console stuff, buffering, etc. is just a big heap of hacks) |
|
/trunk/uspace/lib/libc/generic/console.c /trunk/uspace/lib/libc/generic/libc.c /trunk/uspace/lib/libc/include/console.h
|