Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
4381 |
5581 d 10 h |
jermar |
/trunk/uspace/lib/libc/generic/ |
msg->wdata.inlist needs to be allocated before the reply_received()
callback can be called. |
|
/trunk/uspace/lib/libc/generic/async.c
|
4353 |
5589 d 22 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
|
4324 |
5598 d 16 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 |
5598 d 23 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
|
4312 |
5601 d 15 h |
decky |
/trunk/ |
fix of-by-one-character bug in str_chr() and str_rchr() |
|
/trunk/kernel/generic/src/lib/string.c /trunk/uspace/lib/libc/generic/string.c
|
4305 |
5604 d 16 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
|
4302 |
5604 d 18 h |
jermar |
/trunk/uspace/ |
Make IPC_M_PING part of the VFS_MOUNT protocol again. |
|
/trunk/uspace/lib/libc/generic/vfs/vfs.c /trunk/uspace/srv/vfs/vfs_ops.c
|
4293 |
5606 d 20 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
|
4281 |
5608 d 12 h |
svoboda |
/trunk/ |
Forbid destination string buffers of size zero altogether as they most probably indicate programming error. |
|
/trunk/kernel/generic/src/lib/string.c /trunk/uspace/lib/libc/generic/string.c
|
4280 |
5608 d 12 h |
svoboda |
/trunk/uspace/lib/libc/ |
strcat() -> str_append(). |
|
/trunk/uspace/lib/libc/generic/string.c /trunk/uspace/lib/libc/generic/vfs/vfs.c /trunk/uspace/lib/libc/include/string.h
|
4279 |
5608 d 12 h |
svoboda |
/trunk/uspace/ |
Nuke strncmp(). |
|
/trunk/uspace/lib/libc/generic/getopt.c /trunk/uspace/lib/libc/generic/string.c /trunk/uspace/lib/libc/include/string.h /trunk/uspace/srv/vfs/vfs_ops.c
|
4268 |
5612 d 23 h |
svoboda |
/trunk/uspace/ |
str_cpy() and str_ncpy() in userspace. Nuke strcpy() and strncpy(). |
|
/trunk/uspace/app/bdsh/cmds/modules/ls/ls.c /trunk/uspace/app/tetris/scores.c /trunk/uspace/app/tetris/tetris.c /trunk/uspace/lib/libc/generic/loader.c /trunk/uspace/lib/libc/generic/string.c /trunk/uspace/lib/libc/generic/vfs/vfs.c /trunk/uspace/lib/libc/include/string.h /trunk/uspace/srv/fs/fat/fat_ops.c /trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
|
4266 |
5613 d 9 h |
svoboda |
/trunk/uspace/ |
strdup() -> str_dup() |
|
/trunk/uspace/app/bdsh/cmds/modules/ls/ls.c /trunk/uspace/app/bdsh/cmds/modules/mkdir/mkdir.c /trunk/uspace/app/bdsh/cmds/modules/touch/touch.c /trunk/uspace/app/bdsh/exec.c /trunk/uspace/app/bdsh/input.c /trunk/uspace/app/tetris/scores.c /trunk/uspace/app/tetris/tetris.c /trunk/uspace/lib/libc/generic/string.c /trunk/uspace/lib/libc/generic/vfs/vfs.c /trunk/uspace/lib/libc/include/string.h
|
4265 |
5613 d 10 h |
svoboda |
/trunk/uspace/ |
Nuke strchr() and strrchr(). |
|
/trunk/uspace/lib/libc/generic/getopt.c /trunk/uspace/lib/libc/generic/string.c /trunk/uspace/lib/libc/include/string.h /trunk/uspace/srv/fs/fat/fat_dentry.c /trunk/uspace/srv/loader/main.c
|
4264 |
5613 d 10 h |
svoboda |
/trunk/uspace/ |
Nuke strcpy() and strcmp(). |
|
/trunk/uspace/app/bdsh/cmds/builtin_cmds.c /trunk/uspace/app/bdsh/cmds/mod_cmds.c /trunk/uspace/app/bdsh/cmds/modules/help/help.c /trunk/uspace/app/bdsh/cmds/modules/mkdir/mkdir.c /trunk/uspace/app/bdsh/cmds/modules/rm/rm.c /trunk/uspace/app/bdsh/exec.c /trunk/uspace/app/bdsh/input.c /trunk/uspace/app/tester/devmap/devmap1.c /trunk/uspace/app/tetris/scores.c /trunk/uspace/app/tetris/screen.c /trunk/uspace/app/tetris/tetris.c /trunk/uspace/lib/libc/generic/console.c /trunk/uspace/lib/libc/generic/getopt.c /trunk/uspace/lib/libc/generic/string.c /trunk/uspace/lib/libc/include/stdio.h /trunk/uspace/lib/libc/include/string.h /trunk/uspace/srv/devmap/devmap.c /trunk/uspace/srv/fs/fat/fat_dentry.c /trunk/uspace/srv/fs/fat/fat_ops.c /trunk/uspace/srv/fs/tmpfs/tmpfs_dump.c /trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c /trunk/uspace/srv/loader/main.c /trunk/uspace/srv/pci/libpci/names.c /trunk/uspace/srv/rd/rd.c /trunk/uspace/srv/vfs/vfs_ops.c
|
4262 |
5613 d 12 h |
jermar |
/trunk/uspace/lib/libc/ |
thread_exit() needs to be noreturn as well |
|
/trunk/uspace/lib/libc/generic/thread.c /trunk/uspace/lib/libc/include/thread.h
|
4257 |
5614 d 12 h |
svoboda |
/trunk/uspace/ |
More replacements. |
|
/trunk/uspace/lib/libc/generic/vfs/vfs.c /trunk/uspace/srv/devmap/devmap.c
|
4256 |
5614 d 12 h |
svoboda |
/trunk/uspace/lib/libc/generic/ |
Replace some uses of old string functions in C library. |
|
/trunk/uspace/lib/libc/generic/loader.c /trunk/uspace/lib/libc/generic/sysinfo.c /trunk/uspace/lib/libc/generic/task.c /trunk/uspace/lib/libc/generic/thread.c /trunk/uspace/lib/libc/generic/vfs/vfs.c
|
4253 |
5616 d 12 h |
decky |
/trunk/uspace/ |
make klog more generic |
|
/trunk/uspace/app/klog/klog.c /trunk/uspace/lib/libc/generic/event.c /trunk/uspace/lib/libc/include/event.h /trunk/uspace/srv/ns/ns.c
|
4245 |
5616 d 16 h |
decky |
/trunk/uspace/lib/libc/ |
sync with kernel |
|
/trunk/uspace/lib/libc/Makefile.toolchain /trunk/uspace/lib/libc/generic/io/printf_core.c /trunk/uspace/lib/libc/include/string.h
|
4241 |
5617 d 10 h |
svoboda |
/trunk/uspace/ |
NS was forgetting to hangup phones. One phone was leaked for every load attempt and when all 16 phones were exhausted, NS would lock up. |
|
/trunk/uspace/lib/libc/generic/loader.c /trunk/uspace/srv/loader/main.c /trunk/uspace/srv/ns/ns.c
|
4239 |
5617 d 15 h |
svoboda |
/trunk/uspace/ |
Make Czech layout work partially in bdsh. |
|
/trunk/uspace/app/bdsh/input.c /trunk/uspace/app/tester/print/print4.c /trunk/uspace/lib/libc/Makefile.toolchain /trunk/uspace/lib/libc/generic/console.c /trunk/uspace/lib/libc/generic/io/io.c /trunk/uspace/lib/libc/include/console.h /trunk/uspace/srv/kbd/layout/cz.c
|
4234 |
5618 d 9 h |
svoboda |
/trunk/ |
Copy printf with Unicode support to userspace. |
|
/trunk/kernel/generic/include/string.h /trunk/kernel/generic/src/lib/string.c /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 /trunk/uspace/lib/libc/generic/io/fprintf.c /trunk/uspace/lib/libc/generic/io/printf_core.c /trunk/uspace/lib/libc/generic/io/vprintf.c /trunk/uspace/lib/libc/generic/io/vsnprintf.c /trunk/uspace/lib/libc/generic/string.c /trunk/uspace/lib/libc/include/io/printf_core.h /trunk/uspace/lib/libc/include/string.h /trunk/uspace/lib/libc/include/sys/types.h
|
4226 |
5619 d 11 h |
svoboda |
/trunk/ |
Character encoding/decoding un uspace. Partially fix klog application. |
|
/trunk/kernel/generic/src/console/console.c /trunk/uspace/app/klog/klog.c /trunk/uspace/lib/libc/generic/console.c /trunk/uspace/lib/libc/generic/string.c /trunk/uspace/lib/libc/include/string.h /trunk/uspace/srv/console/console.c /trunk/uspace/srv/fb/fb.c
|
4173 |
5630 d 9 h |
jermar |
/trunk/ |
Revive kernel notifications. |
|
/trunk/kernel/generic/include/event /trunk/kernel/generic/include/event/event.h /trunk/kernel/generic/include/event/event_types.h /trunk/kernel/generic/src/event /trunk/kernel/generic/src/event/event.c /trunk/uspace/lib/libc/generic/event.c /trunk/uspace/lib/libc/include/event.h
/trunk/kernel/Makefile /trunk/kernel/generic/include/syscall/syscall.h /trunk/kernel/generic/src/console/cmd.c /trunk/kernel/generic/src/console/console.c /trunk/kernel/generic/src/console/kconsole.c /trunk/kernel/generic/src/ipc/ipc.c /trunk/kernel/generic/src/main/main.c /trunk/kernel/generic/src/syscall/syscall.c /trunk/uspace/app/klog/klog.c /trunk/uspace/app/trace/syscalls.c /trunk/uspace/lib/libc/Makefile /trunk/uspace/srv/console/console.c
|
4168 |
5631 d 11 h |
svoboda |
/trunk/uspace/ |
'kcon' shell builtin for switching to debug console. |
|
/trunk/uspace/app/bdsh/cmds/modules/kcon /trunk/uspace/app/bdsh/cmds/modules/kcon/entry.h /trunk/uspace/app/bdsh/cmds/modules/kcon/kcon.c /trunk/uspace/app/bdsh/cmds/modules/kcon/kcon.h /trunk/uspace/app/bdsh/cmds/modules/kcon/kcon_def.h
/trunk/uspace/app/bdsh/Makefile /trunk/uspace/app/bdsh/cmds/modules/modules.h /trunk/uspace/lib/libc/generic/console.c /trunk/uspace/lib/libc/include/console.h /trunk/uspace/lib/libc/include/ipc/console.h /trunk/uspace/srv/console/console.c
|
4164 |
5632 d 20 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 |
5633 d 10 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 |
5635 d 9 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
|
4148 |
5635 d 20 h |
decky |
/trunk/ |
as kernel little brother drivers are not needed anymore, the device numbers do not have to be correlated between kernel and uspace in any way
introduce new syscall sys_device_assign_devno() for generating system-wide unique device numbers for uspace |
|
/trunk/kernel/arch/amd64/src/amd64.c /trunk/kernel/arch/arm32/src/arm32.c /trunk/kernel/arch/ia32/src/drivers/i8254.c /trunk/kernel/arch/ia32/src/ia32.c /trunk/kernel/arch/ia32/src/smp/apic.c /trunk/kernel/arch/ia64/src/drivers/it.c /trunk/kernel/arch/ia64/src/ia64.c /trunk/kernel/arch/mips32/src/mips32.c /trunk/kernel/arch/ppc32/include/drivers/cuda.h /trunk/kernel/arch/ppc32/src/drivers/cuda.c /trunk/kernel/arch/ppc32/src/ppc32.c /trunk/kernel/arch/sparc64/src/drivers/kbd.c /trunk/kernel/genarch/include/drivers/dsrln/dsrlnin.h /trunk/kernel/genarch/include/drivers/i8042/i8042.h /trunk/kernel/genarch/include/drivers/ns16550/ns16550.h /trunk/kernel/genarch/include/drivers/z8530/z8530.h /trunk/kernel/genarch/src/drivers/dsrln/dsrlnin.c /trunk/kernel/genarch/src/drivers/i8042/i8042.c /trunk/kernel/genarch/src/drivers/ns16550/ns16550.c /trunk/kernel/genarch/src/drivers/z8530/z8530.c /trunk/kernel/generic/include/ddi/device.h /trunk/kernel/generic/include/syscall/syscall.h /trunk/kernel/generic/src/console/kconsole.c /trunk/kernel/generic/src/ddi/device.c /trunk/kernel/generic/src/syscall/syscall.c /trunk/uspace/app/klog/klog.c /trunk/uspace/lib/libc/generic/ddi.c /trunk/uspace/lib/libc/include/ddi.h /trunk/uspace/srv/console/console.c /trunk/uspace/srv/kbd/port/gxemul.c /trunk/uspace/srv/kbd/port/i8042.c /trunk/uspace/srv/kbd/port/msim.c /trunk/uspace/srv/kbd/port/ns16550.c /trunk/uspace/srv/kbd/port/z8530.c
|
4037 |
5647 d 21 h |
decky |
/trunk/uspace/lib/libc/generic/ |
connect to the loader in a blocking way |
|
/trunk/uspace/lib/libc/generic/loader.c
|
4024 |
5650 d 8 h |
jermar |
/trunk/uspace/lib/libc/ |
PIO functions for uspace. |
|
/trunk/uspace/lib/libc/arch/arm32/include/ddi.h /trunk/uspace/lib/libc/arch/mips32/include/ddi.h /trunk/uspace/lib/libc/arch/ppc32/include/ddi.h /trunk/uspace/lib/libc/arch/sparc64/include/ddi.h
/trunk/uspace/lib/libc/arch/ia32/include/ddi.h /trunk/uspace/lib/libc/arch/ia64/include/ddi.h /trunk/uspace/lib/libc/generic/ddi.c /trunk/uspace/lib/libc/include/sys/types.h
|
4002 |
5651 d 14 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
|
3986 |
5652 d 11 h |
jermar |
/trunk/uspace/lib/libc/ |
Introduce pio_enable() libc call. |
|
/trunk/uspace/lib/libc/arch/ia32/include/ddi.h /trunk/uspace/lib/libc/generic/ddi.c /trunk/uspace/lib/libc/include/ddi.h
|
3983 |
5652 d 16 h |
svoboda |
/trunk/ |
task_set_name() syscall so that we can have names (for userspace-loaded) tasks again. |
|
/trunk/kernel/generic/include/proc/task.h /trunk/kernel/generic/include/syscall/syscall.h /trunk/kernel/generic/src/proc/program.c /trunk/kernel/generic/src/proc/task.c /trunk/kernel/generic/src/syscall/syscall.c /trunk/uspace/lib/libc/generic/task.c /trunk/uspace/lib/libc/include/task.h /trunk/uspace/srv/loader/main.c
|
3923 |
5664 d 8 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 |
5666 d 9 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
|
3896 |
5667 d 7 h |
svoboda |
/trunk/ |
More elegant way of invoking the loader - as a 'cloneable' service. Task names functionality lost for the time being. |
|
/trunk/kernel/generic/include/proc/program.h /trunk/kernel/generic/src/proc/program.c /trunk/uspace/lib/libc/generic/loader.c /trunk/uspace/lib/libc/generic/task.c /trunk/uspace/lib/libc/include/ipc/services.h /trunk/uspace/lib/libc/include/loader/loader.h /trunk/uspace/srv/loader/main.c /trunk/uspace/srv/ns/ns.c
|
3820 |
5685 d 12 h |
svoboda |
/trunk/uspace/lib/libc/generic/ |
Delay connecting to console until first use. Prevents a failed load attempt from trashing an inactive VC. |
|
/trunk/uspace/lib/libc/generic/libc.c
|
3819 |
5687 d 11 h |
jermar |
/trunk/ |
Introduce a new syscall: SYS_IPC_FORWARD_SLOW. |
|
/trunk/kernel/generic/include/ipc/sysipc.h /trunk/kernel/generic/include/syscall/syscall.h /trunk/kernel/generic/src/ipc/sysipc.c /trunk/kernel/generic/src/syscall/syscall.c /trunk/uspace/app/trace/syscalls.c /trunk/uspace/lib/libc/generic/ipc.c /trunk/uspace/lib/libc/include/ipc/ipc.h
|