Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
4535 |
5551 d 8 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 1 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 3 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 0 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
|
4523 |
5555 d 1 h |
decky |
/trunk/uspace/lib/libc/generic/io/ |
remove obsolete terminology |
|
/trunk/uspace/lib/libc/generic/io/vprintf.c
|
4522 |
5555 d 1 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
|
4517 |
5555 d 22 h |
jermar |
/trunk/uspace/lib/libc/ |
Include fibril synchronization primitives in libc build. |
|
/trunk/uspace/lib/libc/Makefile
|
4516 |
5555 d 22 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 9 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
|
4513 |
5557 d 1 h |
jermar |
/trunk/uspace/lib/libc/generic/ |
Nit. |
|
/trunk/uspace/lib/libc/generic/fibril.c
|
4512 |
5557 d 1 h |
decky |
/trunk/uspace/lib/libc/generic/io/ |
cstyle |
|
/trunk/uspace/lib/libc/generic/io/io.c
|
4511 |
5557 d 1 h |
svoboda |
/trunk/uspace/lib/libc/generic/io/ |
getchar() and fgetc() are traditionally supposed to flush stdout and stderr. |
|
/trunk/uspace/lib/libc/generic/io/io.c
|
4510 |
5557 d 2 h |
jermar |
/trunk/uspace/lib/libc/generic/ |
A little bit of cleanup and a remedy for great confusion introduced in revision 2483. |
|
/trunk/uspace/lib/libc/generic/async.c /trunk/uspace/lib/libc/generic/fibril.c
|
4509 |
5557 d 7 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 8 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
|
4496 |
5561 d 4 h |
decky |
/trunk/uspace/ |
be more pedantic about undefined function prototypes (to avoid memory access traps)
add missing header files |
|
/trunk/uspace/app/bdsh/cmds/modules/bdd/bdd.c /trunk/uspace/app/bdsh/cmds/modules/kcon/kcon.c /trunk/uspace/app/bdsh/cmds/modules/mkdir/mkdir.c /trunk/uspace/app/bdsh/cmds/modules/pwd/pwd.c /trunk/uspace/app/bdsh/cmds/modules/rm/rm.c /trunk/uspace/app/bdsh/input.c /trunk/uspace/app/tester/console/console1.c /trunk/uspace/app/trace/trace.c /trunk/uspace/lib/libc/Makefile.toolchain /trunk/uspace/lib/libc/generic/mem.c /trunk/uspace/srv/ns/clonable.c /trunk/uspace/srv/ns/ns.c
|
4492 |
5561 d 10 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 |
5561 d 22 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
|
4484 |
5562 d 1 h |
decky |
/trunk/uspace/lib/libfs/ |
add libfs_open_node() helper function
cleanup |
|
/trunk/uspace/lib/libfs/libfs.c /trunk/uspace/lib/libfs/libfs.h
|
4483 |
5562 d 1 h |
decky |
/trunk/uspace/lib/libblock/ |
add missing include |
|
/trunk/uspace/lib/libblock/libblock.c
|
4482 |
5562 d 1 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 1 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 1 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 1 h |
decky |
/trunk/uspace/lib/libc/include/ |
add error constant from VFS
cleanup |
|
/trunk/uspace/lib/libc/include/errno.h
|
4478 |
5562 d 1 h |
decky |
/trunk/uspace/lib/libc/generic/ |
explicit typecast |
|
/trunk/uspace/lib/libc/generic/ipc.c
|
4477 |
5562 d 1 h |
decky |
/trunk/uspace/lib/libc/generic/ |
setup stdin, stdout and stderr according to preset file nodes
cleanup |
|
/trunk/uspace/lib/libc/generic/libc.c
|
4476 |
5562 d 1 h |
decky |
/trunk/uspace/lib/libc/generic/ |
add support for passing preset files
cleanup |
|
/trunk/uspace/lib/libc/generic/loader.c
|
4475 |
5562 d 1 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
|
4474 |
5562 d 1 h |
decky |
/trunk/uspace/lib/libc/generic/ |
add serialization (just to be sure) |
|
/trunk/uspace/lib/libc/generic/devmap.c
|
4473 |
5562 d 1 h |
decky |
/trunk/uspace/lib/libc/generic/ |
avoid compiler warning |
|
/trunk/uspace/lib/libc/generic/mem.c
|
4472 |
5562 d 1 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
|
4471 |
5562 d 1 h |
decky |
/trunk/uspace/lib/libc/generic/ |
cstyle |
|
/trunk/uspace/lib/libc/generic/as.c
|
4470 |
5562 d 1 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
|
4469 |
5562 d 1 h |
decky |
/trunk/uspace/lib/libc/generic/ |
avoid compiler warning |
|
/trunk/uspace/lib/libc/generic/ddi.c
|
4468 |
5562 d 1 h |
decky |
/trunk/uspace/lib/libc/arch/ |
remove redundant index_t and count_t types (which were always quite ambiguous and not actually needed) |
|
/trunk/uspace/lib/libc/arch/amd64/include/types.h /trunk/uspace/lib/libc/arch/arm32/include/types.h /trunk/uspace/lib/libc/arch/ia32/include/types.h /trunk/uspace/lib/libc/arch/ia64/include/types.h /trunk/uspace/lib/libc/arch/mips32/include/types.h /trunk/uspace/lib/libc/arch/ppc32/include/types.h /trunk/uspace/lib/libc/arch/sparc64/include/types.h
|
4467 |
5562 d 2 h |
decky |
/trunk/uspace/lib/libc/arch/arm32/include/ |
fix include |
|
/trunk/uspace/lib/libc/arch/arm32/include/fibril.h
|
4466 |
5562 d 2 h |
decky |
/trunk/uspace/lib/libc/ |
reorder compiler options to be consistent with kernel |
|
/trunk/uspace/lib/libc/Makefile.toolchain
|
4453 |
5562 d 2 h |
decky |
/trunk/uspace/lib/libc/include/ |
port macros from kernel |
|
/trunk/uspace/lib/libc/include/macros.h
|
4435 |
5569 d 1 h |
jermar |
/trunk/uspace/ |
More conversions to dev_handle_t. |
|
/trunk/uspace/lib/libblock/libblock.c /trunk/uspace/lib/libblock/libblock.h /trunk/uspace/srv/fs/tmpfs/tmpfs_dump.c
|
4434 |
5569 d 2 h |
jermar |
/trunk/uspace/lib/libblock/ |
Fix type for dev_handle. |
|
/trunk/uspace/lib/libblock/libblock.c
|