Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
4647 |
5645 d 16 h |
jermar |
/branches/arm/ |
Branch out a new arm branch. |
|
/branches/arm
|
4482 |
5687 d 15 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
|
4353 |
5719 d 1 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
|
4317 |
5728 d 2 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
|
4164 |
5761 d 23 h |
svoboda |
/trunk/uspace/ |
Buffer console output with line granularity. Makes esp. msim/ski console faster. EGA-fb needs fixing. |
|
/trunk/uspace/app/tetris/screen.c /trunk/uspace/app/tetris/tetris.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/include/console.h /trunk/uspace/lib/libc/include/io/stream.h /trunk/uspace/lib/libc/include/ipc/console.h /trunk/uspace/lib/libc/include/ipc/fb.h /trunk/uspace/lib/libc/include/stdio.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
|
4160 |
5762 d 13 h |
jermar |
/trunk/uspace/ |
Improve the console library functions. |
|
/trunk/uspace/app/tetris/input.c /trunk/uspace/lib/libc/generic/console.c /trunk/uspace/lib/libc/generic/io/stream.c /trunk/uspace/lib/libc/generic/kbd.c /trunk/uspace/lib/libc/include/console.h
|
4154 |
5764 d 12 h |
svoboda |
/trunk/uspace/ |
Consolidate console interface. |
|
/trunk/uspace/app/init/init.c /trunk/uspace/app/klog/klog.c /trunk/uspace/app/tetris/input.c /trunk/uspace/lib/libc/generic/console.c /trunk/uspace/lib/libc/generic/io/stream.c /trunk/uspace/lib/libc/generic/kbd.c /trunk/uspace/lib/libc/include/console.h /trunk/uspace/lib/libc/include/io/stream.h /trunk/uspace/srv/loader/main.c
|
4002 |
5780 d 17 h |
decky |
/trunk/uspace/lib/libc/ |
add IPC_FLAG_BLOCKING for generic IPC blocking operations
add ipc_connect_me_to_blocking() for blocking connections
mount() has new flags argument
get_cons_phone() -> get_console_phone()
add common console_wait()
simplify vfs_connect() using blocking connection
add blocking support for device_get_handle()
swap VFS_MOUNT arguments, and blocking mount support |
|
/trunk/uspace/lib/libc/generic/console.c /trunk/uspace/lib/libc/generic/io/stream.c /trunk/uspace/lib/libc/generic/ipc.c /trunk/uspace/lib/libc/generic/kbd.c /trunk/uspace/lib/libc/generic/vfs/vfs.c /trunk/uspace/lib/libc/include/async.h /trunk/uspace/lib/libc/include/io/stream.h /trunk/uspace/lib/libc/include/ipc/ipc.h /trunk/uspace/lib/libc/include/ipc/services.h /trunk/uspace/lib/libc/include/vfs/vfs.h
|
3923 |
5793 d 11 h |
svoboda |
/trunk/ |
Keyboard driver overhaul -- organize by hardware structure. This is w.i.p. Modifier keys, as well as ppc32, ia64 and sparc64 will not work yet. |
|
/trunk/uspace/srv/kbd/ctl /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/include/kbd_ctl.h /trunk/uspace/srv/kbd/include/kbd_port.h /trunk/uspace/srv/kbd/include/layout.h /trunk/uspace/srv/kbd/layout /trunk/uspace/srv/kbd/layout/us_dvorak.c /trunk/uspace/srv/kbd/layout/us_qwerty.c /trunk/uspace/srv/kbd/port /trunk/uspace/srv/kbd/port/dummy.c /trunk/uspace/srv/kbd/port/gxemul.c /trunk/uspace/srv/kbd/port/i8042.c /trunk/uspace/srv/kbd/port/i8042.h /trunk/uspace/srv/kbd/port/msim.c
/trunk/HelenOS.config /trunk/uspace/lib/libc/generic/io/stream.c /trunk/uspace/lib/libc/generic/kbd.c /trunk/uspace/lib/libc/include/kbd/keycode.h /trunk/uspace/srv/console/console.c /trunk/uspace/srv/kbd/Makefile /trunk/uspace/srv/kbd/generic/kbd.c /trunk/uspace/srv/kbd/include/kbd.h
|
3905 |
5795 d 12 h |
svoboda |
/trunk/uspace/ |
Keycodes, keyboard events, kbd_event_get(). Keyboard driver now (formally) produces kbd events (press/release, keycode, mods, char) instead of just characters. In reality, the driver and client are only hacked to work with the new interface atm. |
|
/trunk/uspace/lib/libc/generic/kbd.c /trunk/uspace/lib/libc/include/kbd /trunk/uspace/lib/libc/include/kbd/kbd.h /trunk/uspace/lib/libc/include/kbd/keycode.h
/trunk/uspace/app/tetris/input.c /trunk/uspace/app/trace/trace.c /trunk/uspace/lib/libc/Makefile /trunk/uspace/lib/libc/generic/io/stream.c /trunk/uspace/lib/libc/include/ipc/console.h /trunk/uspace/srv/console/console.c /trunk/uspace/srv/kbd/arch/arm32/src/kbd_gxemul.c /trunk/uspace/srv/kbd/arch/ia64/src/kbd.c /trunk/uspace/srv/kbd/arch/mips32/src/kbd.c /trunk/uspace/srv/kbd/arch/ppc32/src/kbd.c /trunk/uspace/srv/kbd/genarch/src/kbd.c /trunk/uspace/srv/kbd/genarch/src/nofb.c /trunk/uspace/srv/kbd/generic/kbd.c /trunk/uspace/srv/kbd/generic/key_buffer.c /trunk/uspace/srv/kbd/include/key_buffer.h /trunk/uspace/srv/kbd/include/keys.h
|
3747 |
5846 d 14 h |
svoboda |
/trunk/uspace/ |
Put console IPC method numbers under libc. |
|
/trunk/uspace/lib/libc/include/ipc/console.h
/trunk/uspace/app/tester/console/console1.c /trunk/uspace/app/tetris/input.c /trunk/uspace/app/tetris/screen.c /trunk/uspace/app/trace/trace.c /trunk/uspace/lib/libc/Makefile /trunk/uspace/lib/libc/generic/io/stream.c /trunk/uspace/lib/libc/generic/vfs/vfs.c /trunk/uspace/srv/console/console.c /trunk/uspace/srv/console/console.h
|
3222 |
6017 d 18 h |
svoboda |
/trunk/ |
Merge program-loader related stuff from dynload branch to trunk. (huge) |
|
/trunk/kernel/generic/include/proc/program.h /trunk/kernel/generic/include/synch/smc.h /trunk/kernel/generic/src/proc/program.c /trunk/kernel/generic/src/synch/smc.c /trunk/uspace/app/cli /trunk/uspace/app/cli/Makefile /trunk/uspace/app/cli/cli.c /trunk/uspace/lib/libc/generic/pcb.c /trunk/uspace/lib/libc/generic/smc.c /trunk/uspace/lib/libc/include/ipc/loader.h /trunk/uspace/lib/libc/include/loader /trunk/uspace/lib/libc/include/loader/pcb.h /trunk/uspace/lib/libc/include/smc.h /trunk/uspace/srv/loader /trunk/uspace/srv/loader/Makefile /trunk/uspace/srv/loader/arch /trunk/uspace/srv/loader/arch/amd64 /trunk/uspace/srv/loader/arch/amd64/Makefile.inc /trunk/uspace/srv/loader/arch/amd64/_link.ld.in /trunk/uspace/srv/loader/arch/amd64/amd64.s /trunk/uspace/srv/loader/arch/arm32 /trunk/uspace/srv/loader/arch/arm32/Makefile.inc /trunk/uspace/srv/loader/arch/arm32/_link.ld.in /trunk/uspace/srv/loader/arch/arm32/arm32.s /trunk/uspace/srv/loader/arch/ia32 /trunk/uspace/srv/loader/arch/ia32/Makefile.inc /trunk/uspace/srv/loader/arch/ia32/_link.ld.in /trunk/uspace/srv/loader/arch/ia32/ia32.s /trunk/uspace/srv/loader/arch/ia64 /trunk/uspace/srv/loader/arch/ia64/Makefile.inc /trunk/uspace/srv/loader/arch/ia64/_link.ld.in /trunk/uspace/srv/loader/arch/ia64/ia64.s /trunk/uspace/srv/loader/arch/mips32 /trunk/uspace/srv/loader/arch/mips32/Makefile.inc /trunk/uspace/srv/loader/arch/mips32/_link.ld.in /trunk/uspace/srv/loader/arch/mips32/mips32.s /trunk/uspace/srv/loader/arch/ppc32 /trunk/uspace/srv/loader/arch/ppc32/Makefile.inc /trunk/uspace/srv/loader/arch/ppc32/_link.ld.in /trunk/uspace/srv/loader/arch/ppc32/ppc32.s /trunk/uspace/srv/loader/arch/sparc64 /trunk/uspace/srv/loader/arch/sparc64/Makefile.inc /trunk/uspace/srv/loader/arch/sparc64/_link.ld.in /trunk/uspace/srv/loader/arch/sparc64/sparc64.s /trunk/uspace/srv/loader/elf_load.c /trunk/uspace/srv/loader/include /trunk/uspace/srv/loader/include/arch.h /trunk/uspace/srv/loader/include/elf.h /trunk/uspace/srv/loader/include/elf_load.h /trunk/uspace/srv/loader/interp.s /trunk/uspace/srv/loader/main.c
/trunk/boot/arch/amd64/Makefile.inc /trunk/boot/arch/amd64/grub/menu.lst /trunk/boot/arch/arm32/loader/Makefile /trunk/boot/arch/ia32/Makefile.inc /trunk/boot/arch/ia32/grub/menu.lst /trunk/boot/arch/ia64/loader/Makefile /trunk/boot/arch/mips32/loader/Makefile /trunk/boot/arch/ppc32/loader/Makefile /trunk/boot/arch/sparc64/loader/Makefile /trunk/kernel/Makefile /trunk/kernel/arch/amd64/src/userspace.c /trunk/kernel/arch/arm32/src/userspace.c /trunk/kernel/arch/ia32/src/userspace.c /trunk/kernel/arch/ia32xen/src/userspace.c /trunk/kernel/arch/ia64/src/asm.S /trunk/kernel/arch/mips32/src/start.S /trunk/kernel/arch/ppc32/src/asm.S /trunk/kernel/arch/ppc64/src/asm.S /trunk/kernel/arch/sparc64/src/asm.S /trunk/kernel/generic/include/lib/elf.h /trunk/kernel/generic/include/mm/as.h /trunk/kernel/generic/include/proc/task.h /trunk/kernel/generic/include/proc/thread.h /trunk/kernel/generic/include/syscall/syscall.h /trunk/kernel/generic/src/lib/elf.c /trunk/kernel/generic/src/main/kinit.c /trunk/kernel/generic/src/mm/as.c /trunk/kernel/generic/src/proc/task.c /trunk/kernel/generic/src/proc/thread.c /trunk/kernel/generic/src/syscall/syscall.c /trunk/uspace/Makefile /trunk/uspace/app/init/init.c /trunk/uspace/app/tester/tester.c /trunk/uspace/lib/libc/Makefile /trunk/uspace/lib/libc/arch/amd64/src/entry.s /trunk/uspace/lib/libc/arch/arm32/src/entry.s /trunk/uspace/lib/libc/arch/ia32/src/entry.s /trunk/uspace/lib/libc/arch/ia64/src/entry.s /trunk/uspace/lib/libc/arch/mips32/src/entry.s /trunk/uspace/lib/libc/arch/ppc32/src/entry.s /trunk/uspace/lib/libc/arch/ppc64/src/entry.s /trunk/uspace/lib/libc/arch/sparc64/src/entry.s /trunk/uspace/lib/libc/generic/as.c /trunk/uspace/lib/libc/generic/io/stream.c /trunk/uspace/lib/libc/generic/libc.c /trunk/uspace/lib/libc/generic/task.c /trunk/uspace/lib/libc/include/as.h /trunk/uspace/lib/libc/include/io/stream.h /trunk/uspace/lib/libc/include/libc.h /trunk/uspace/lib/libc/include/task.h
|
3117 |
6048 d 20 h |
svoboda |
/trunk/uspace/ |
Make getchar() and tester behave sanely when there's no console. |
|
/trunk/uspace/app/tester/tester.c /trunk/uspace/lib/libc/generic/io/stream.c
|
3112 |
6049 d 11 h |
decky |
/trunk/uspace/ |
uspace klog |
|
/trunk/uspace/app/init/init.c /trunk/uspace/app/klog/klog.c /trunk/uspace/lib/libc/generic/io/stream.c /trunk/uspace/lib/libc/include/io/stream.h /trunk/uspace/lib/libc/include/stdio.h
|
3075 |
6052 d 19 h |
decky |
/trunk/uspace/lib/libc/ |
use klog output until uspace console is available |
|
/trunk/uspace/lib/libc/generic/io/stream.c /trunk/uspace/lib/libc/include/io/stream.h
|
2670 |
6212 d 12 h |
jermar |
/trunk/uspace/ |
Move the open(), read() and write() provided by streams.c away so that
these functions won't clash with the real open(), read() and write(), which are
soon to be provided by a libvfs library. Applications can now use open_stdin(),
open_stdout(), read_stdin() and write_stdout(). Later, there might be an option
of providing a custom console file system, which will work similarly to how
streams' open(), read() and write() worked. |
|
/trunk/uspace/app/tetris/screen.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/libc.c /trunk/uspace/lib/libc/include/io/stream.h
|
2635 |
6236 d 14 h |
cejka |
/trunk/ |
Function ipc_connect_me_to sends 3 user defined arguments now.
One argument added also to ipc_forward_fast.
Fixed devmap and improved its test. |
|
/trunk/kernel/generic/include/ipc/ipc.h /trunk/kernel/generic/include/ipc/sysipc.h /trunk/kernel/generic/src/ipc/sysipc.c /trunk/uspace/app/tester/devmap/devmap1.c /trunk/uspace/app/tester/ipc/connect.c /trunk/uspace/lib/libc/generic/async.c /trunk/uspace/lib/libc/generic/io/stream.c /trunk/uspace/lib/libc/generic/ipc.c /trunk/uspace/lib/libc/include/ipc/ipc.h /trunk/uspace/srv/console/console.c /trunk/uspace/srv/devmap/devmap.c /trunk/uspace/srv/devmap/devmap.h /trunk/uspace/srv/fs/fat/fat.c /trunk/uspace/srv/ns/ns.c /trunk/uspace/srv/vfs/vfs_read.c
|
2621 |
6246 d 18 h |
jermar |
/trunk/uspace/ |
Modify the async framework to make use of all six syscall arguments.
Supply user-friendly macros as in previous cases. |
|
/trunk/uspace/app/tetris/screen.c /trunk/uspace/lib/libc/generic/async.c /trunk/uspace/lib/libc/generic/io/stream.c /trunk/uspace/lib/libc/include/async.h /trunk/uspace/srv/console/console.c /trunk/uspace/srv/console/gcons.c /trunk/uspace/srv/kbd/arch/ia32/src/mouse.c /trunk/uspace/srv/kbd/generic/kbd.c
|
2541 |
6302 d 22 h |
jermar |
/trunk/uspace/ |
Header cleanup.
Move off_t, size_t and ssize_t into sys/types.h.
Get rid off the non-standard and dummy types.h. |
|
/trunk/uspace/lib/libc/include/types.h
/trunk/uspace/app/tester/tester.h /trunk/uspace/lib/libc/arch/amd64/include/fibril.h /trunk/uspace/lib/libc/arch/amd64/include/types.h /trunk/uspace/lib/libc/arch/arm32/include/fibril.h /trunk/uspace/lib/libc/arch/arm32/include/types.h /trunk/uspace/lib/libc/arch/ia32/include/fibril.h /trunk/uspace/lib/libc/arch/ia32/include/stackarg.h /trunk/uspace/lib/libc/arch/ia32/include/types.h /trunk/uspace/lib/libc/arch/ia64/include/fibril.h /trunk/uspace/lib/libc/arch/ia64/include/types.h /trunk/uspace/lib/libc/arch/mips32/include/fibril.h /trunk/uspace/lib/libc/arch/mips32/include/stackarg.h /trunk/uspace/lib/libc/arch/mips32/include/types.h /trunk/uspace/lib/libc/arch/ppc32/include/fibril.h /trunk/uspace/lib/libc/arch/ppc32/include/types.h /trunk/uspace/lib/libc/arch/ppc64/include/fibril.h /trunk/uspace/lib/libc/arch/ppc64/include/types.h /trunk/uspace/lib/libc/arch/sparc64/include/atomic.h /trunk/uspace/lib/libc/arch/sparc64/include/fibril.h /trunk/uspace/lib/libc/arch/sparc64/include/syscall.h /trunk/uspace/lib/libc/arch/sparc64/include/types.h /trunk/uspace/lib/libc/generic/as.c /trunk/uspace/lib/libc/generic/futex.c /trunk/uspace/lib/libc/generic/io/stream.c /trunk/uspace/lib/libc/generic/mman.c /trunk/uspace/lib/libc/generic/string.c /trunk/uspace/lib/libc/include/as.h /trunk/uspace/lib/libc/include/async.h /trunk/uspace/lib/libc/include/bitops.h /trunk/uspace/lib/libc/include/futex.h /trunk/uspace/lib/libc/include/io/io.h /trunk/uspace/lib/libc/include/io/printf_core.h /trunk/uspace/lib/libc/include/ipc/ipc.h /trunk/uspace/lib/libc/include/libc.h /trunk/uspace/lib/libc/include/stdarg.h /trunk/uspace/lib/libc/include/stddef.h /trunk/uspace/lib/libc/include/stdint.h /trunk/uspace/lib/libc/include/stdio.h /trunk/uspace/lib/libc/include/string.h /trunk/uspace/lib/libc/include/sys/mman.h /trunk/uspace/lib/libc/include/sys/time.h /trunk/uspace/lib/libc/include/sys/types.h /trunk/uspace/lib/libc/include/syscall.h /trunk/uspace/lib/libc/include/task.h /trunk/uspace/lib/libc/include/thread.h /trunk/uspace/lib/libc/include/unistd.h /trunk/uspace/srv/fb/ppm.c /trunk/uspace/srv/fb/ppm.h /trunk/uspace/srv/kbd/arch/sparc64/src/kbd.c /trunk/uspace/srv/kbd/include/key_buffer.h /trunk/uspace/srv/pci/libpci/types.h
|
2495 |
6379 d 18 h |
jermar |
/trunk/uspace/lib/libc/generic/io/ |
Formatting changes. |
|
/trunk/uspace/lib/libc/generic/io/stream.c
|