Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
4487 |
5599 d 0 h |
decky |
/trunk/uspace/app/tester/ |
update for latest I/O changes
(some tests are not 100% working yet, will be solved soon) |
|
/trunk/uspace/app/tester/console/console1.c /trunk/uspace/app/tester/ipc/ping_pong.c /trunk/uspace/app/tester/tester.c
|
4486 |
5599 d 0 h |
decky |
/trunk/uspace/app/bdsh/ |
bdsh: sync with I/O changes, block until spawned task exits |
|
/trunk/uspace/app/bdsh/cmds/modules/kcon/kcon.c /trunk/uspace/app/bdsh/exec.c /trunk/uspace/app/bdsh/input.c
|
4485 |
5599 d 0 h |
decky |
/trunk/uspace/app/init/ |
init rewrite: remove banner, start getvc to acquire first seven virtual terminals |
|
/trunk/uspace/app/init/version.c /trunk/uspace/app/init/version.h
/trunk/uspace/app/init/Makefile /trunk/uspace/app/init/init.c /trunk/uspace/app/init/init.h
|
4484 |
5599 d 0 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 |
5599 d 0 h |
decky |
/trunk/uspace/lib/libblock/ |
add missing include |
|
/trunk/uspace/lib/libblock/libblock.c
|
4482 |
5599 d 0 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 |
5599 d 0 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 |
5599 d 0 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 |
5599 d 0 h |
decky |
/trunk/uspace/lib/libc/include/ |
add error constant from VFS
cleanup |
|
/trunk/uspace/lib/libc/include/errno.h
|
4478 |
5599 d 0 h |
decky |
/trunk/uspace/lib/libc/generic/ |
explicit typecast |
|
/trunk/uspace/lib/libc/generic/ipc.c
|
4477 |
5599 d 0 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 |
5599 d 0 h |
decky |
/trunk/uspace/lib/libc/generic/ |
add support for passing preset files
cleanup |
|
/trunk/uspace/lib/libc/generic/loader.c
|
4475 |
5599 d 0 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 |
5599 d 0 h |
decky |
/trunk/uspace/lib/libc/generic/ |
add serialization (just to be sure) |
|
/trunk/uspace/lib/libc/generic/devmap.c
|
4473 |
5599 d 0 h |
decky |
/trunk/uspace/lib/libc/generic/ |
avoid compiler warning |
|
/trunk/uspace/lib/libc/generic/mem.c
|
4472 |
5599 d 0 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 |
5599 d 0 h |
decky |
/trunk/uspace/lib/libc/generic/ |
cstyle |
|
/trunk/uspace/lib/libc/generic/as.c
|
4470 |
5599 d 0 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 |
5599 d 0 h |
decky |
/trunk/uspace/lib/libc/generic/ |
avoid compiler warning |
|
/trunk/uspace/lib/libc/generic/ddi.c
|
4468 |
5599 d 0 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 |
5599 d 0 h |
decky |
/trunk/uspace/lib/libc/arch/arm32/include/ |
fix include |
|
/trunk/uspace/lib/libc/arch/arm32/include/fibril.h
|
4466 |
5599 d 0 h |
decky |
/trunk/uspace/lib/libc/ |
reorder compiler options to be consistent with kernel |
|
/trunk/uspace/lib/libc/Makefile.toolchain
|
4465 |
5599 d 0 h |
decky |
/trunk/uspace/srv/fs/ |
implement VFS_OPEN_NODE and VFS_DEVICE (no device handle is returned)
implement no-op VFS_SYNC and VFS_CLOSE |
|
/trunk/uspace/srv/fs/fat/fat.c /trunk/uspace/srv/fs/fat/fat.h /trunk/uspace/srv/fs/fat/fat_fat.c /trunk/uspace/srv/fs/fat/fat_ops.c /trunk/uspace/srv/fs/tmpfs/tmpfs.c /trunk/uspace/srv/fs/tmpfs/tmpfs.h /trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
|
4464 |
5599 d 0 h |
decky |
/trunk/uspace/srv/fs/devfs/ |
devfs rewrite:
- implement VFS_OPEN_NODE, VFS_DEVICE, VFS_SYNC, VFS_CLOSE
- connect to underlying device during VFS_LOOKUP (if L_OPEN flag is used) and VFS_OPEN_NODE
- disconnect from underlying device during VFS_CLOSE
- forward VFS_READ, VFS_WRITE and VFS_SYNC to the underlying device
- VFS_DEVICE: return underlying device handle |
|
/trunk/uspace/srv/fs/devfs/devfs.c /trunk/uspace/srv/fs/devfs/devfs_ops.c /trunk/uspace/srv/fs/devfs/devfs_ops.h
|
4463 |
5599 d 0 h |
decky |
/trunk/uspace/srv/vfs/ |
VFS rewrite:
- add new VFS methods
- VFS_NODE for getting VFS node for a file descriptor
- VFS_OPEN_NODE for opening an i-node directly
- VFS_DEVICE for getting the underlying device of a file (if any)
- VFS_SYNC for syncing buffers
- L_OPEN flag is set to underlying filesystem in VFS_LOOKUP when opening a file to support initialization (if any)
- VFS_CLOSE is now propagated to underlying filesystem to support cleanup (if any) |
|
/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
|
4462 |
5599 d 1 h |
decky |
/trunk/uspace/srv/kbd/ |
keyboard server rewrite: rename "kbd events" to more generic "console events" and similar changes
rename key_buffer.* to keybuffer.*
coding style changes |
|
/trunk/uspace/srv/kbd/generic/keybuffer.c /trunk/uspace/srv/kbd/include/keybuffer.h
/trunk/uspace/srv/kbd/generic/key_buffer.c /trunk/uspace/srv/kbd/include/key_buffer.h
/trunk/uspace/srv/kbd/Makefile /trunk/uspace/srv/kbd/ctl/gxe_fb.c /trunk/uspace/srv/kbd/ctl/pc.c /trunk/uspace/srv/kbd/ctl/stty.c /trunk/uspace/srv/kbd/ctl/sun.c /trunk/uspace/srv/kbd/genarch/stroke.c /trunk/uspace/srv/kbd/generic/kbd.c /trunk/uspace/srv/kbd/include/kbd.h /trunk/uspace/srv/kbd/include/layout.h /trunk/uspace/srv/kbd/layout/cz.c /trunk/uspace/srv/kbd/layout/us_dvorak.c /trunk/uspace/srv/kbd/layout/us_qwerty.c
|
4461 |
5599 d 1 h |
decky |
/trunk/uspace/srv/loader/ |
add support for passing preset files
rename loader_ prefix to ldr_ prefix (to avoid confusion with libc functions) |
|
/trunk/uspace/srv/loader/main.c
|
4459 |
5599 d 1 h |
decky |
/trunk/uspace/srv/ns/ |
split naming service into multiple files for better readability
add support for waiting on tasks (receives kernel task notifications) |
|
/trunk/uspace/srv/ns/clonable.c /trunk/uspace/srv/ns/clonable.h /trunk/uspace/srv/ns/ns.h /trunk/uspace/srv/ns/service.c /trunk/uspace/srv/ns/service.h /trunk/uspace/srv/ns/task.c /trunk/uspace/srv/ns/task.h
/trunk/uspace/srv/ns/Makefile /trunk/uspace/srv/ns/ns.c
|
4458 |
5599 d 1 h |
decky |
/trunk/uspace/srv/devmap/ |
remove futex (devmap is not multithreaded), use fibril serialization instead |
|
/trunk/uspace/srv/devmap/devmap.c
|
4457 |
5599 d 1 h |
decky |
/trunk/uspace/srv/fb/ |
framebuffer server rewrite: cleanup, always use canonical order of coordinates (x, y) |
|
/trunk/uspace/srv/fb/ega.c /trunk/uspace/srv/fb/ega.h /trunk/uspace/srv/fb/fb.c /trunk/uspace/srv/fb/serial_console.c /trunk/uspace/srv/fb/serial_console.h
|
4456 |
5599 d 1 h |
decky |
/trunk/uspace/srv/console/ |
console server rewrite: use VFS_READ/VFS_WRITE for generic I/O, register separate virtual consoles using device mapper |
|
/trunk/uspace/srv/console/Makefile /trunk/uspace/srv/console/console.c /trunk/uspace/srv/console/gcons.c /trunk/uspace/srv/console/gcons.h /trunk/uspace/srv/console/screenbuffer.c /trunk/uspace/srv/console/screenbuffer.h
|
4455 |
5599 d 1 h |
decky |
/trunk/uspace/ |
add getvc to uspace Makefile |
|
/trunk/uspace/Makefile
|
4453 |
5599 d 1 h |
decky |
/trunk/uspace/lib/libc/include/ |
port macros from kernel |
|
/trunk/uspace/lib/libc/include/macros.h
|
4446 |
5600 d 2 h |
decky |
/trunk/uspace/app/getvc/ |
getvc: a task which acquires a console device
(this is a preliminary commit which does nothing, the bulk of the changes will be commited later) |
|
/trunk/uspace/app/getvc /trunk/uspace/app/getvc/Makefile /trunk/uspace/app/getvc/getvc.c /trunk/uspace/app/getvc/getvc.h /trunk/uspace/app/getvc/version.c /trunk/uspace/app/getvc/version.h
|
4445 |
5601 d 2 h |
decky |
/trunk/uspace/srv/vfs/ |
revert commit 4443 and implement a much finer solution as suggested by Jakub Jermar in commit 4444 |
|
/trunk/uspace/srv/vfs/vfs_lookup.c /trunk/uspace/srv/vfs/vfs_ops.c
|
4444 |
5604 d 0 h |
jermar |
/trunk/uspace/srv/vfs/ |
Put a comment for consideration. |
|
/trunk/uspace/srv/vfs/vfs_lookup.c
|
4443 |
5604 d 1 h |
decky |
/trunk/uspace/srv/vfs/ |
serialization of VFS_OPEN implementation to avoid lockup by concurrent open() operations from multiple tasks |
|
/trunk/uspace/srv/vfs/vfs_ops.c
|
4442 |
5604 d 16 h |
svoboda |
/trunk/uspace/srv/bd/gxe_bd/ |
Support more than one disk in gxe_bd (hardcoded to 2). |
|
/trunk/uspace/srv/bd/gxe_bd/gxe_bd.c
|
4440 |
5604 d 23 h |
jermar |
/trunk/uspace/srv/bd/gxe_bd/ |
Large I/O areas actually work as expected. Fix the definition of the gxe_bd device and pio_enable() the whole I/O area at once. |
|
/trunk/uspace/srv/bd/gxe_bd/gxe_bd.c
|
4437 |
5605 d 10 h |
jermar |
/trunk/uspace/srv/vfs/ |
Fix function definition. |
|
/trunk/uspace/srv/vfs/vfs_ops.c
|