Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
4602 |
5574 d 18 h |
decky |
/trunk/uspace/app/tester/ |
tester framework rewrite (go from a menu-driven interface to command-line interface) |
|
/trunk/uspace/app/tester/print/print2.c /trunk/uspace/app/tester/print/print2.def /trunk/uspace/app/tester/print/print3.c /trunk/uspace/app/tester/print/print3.def
/trunk/uspace/app/tester/devmap /trunk/uspace/app/tester/ipc/answer.c /trunk/uspace/app/tester/ipc/answer.def /trunk/uspace/app/tester/ipc/hangup.c /trunk/uspace/app/tester/ipc/hangup.def /trunk/uspace/app/tester/ipc/send_async.c /trunk/uspace/app/tester/ipc/send_async.def /trunk/uspace/app/tester/ipc/send_sync.c /trunk/uspace/app/tester/ipc/send_sync.def
/trunk/uspace/app/tester/Makefile /trunk/uspace/app/tester/console/console1.c /trunk/uspace/app/tester/fault/fault1.c /trunk/uspace/app/tester/fault/fault2.c /trunk/uspace/app/tester/ipc/connect.c /trunk/uspace/app/tester/ipc/ping_pong.c /trunk/uspace/app/tester/ipc/register.c /trunk/uspace/app/tester/loop/loop1.c /trunk/uspace/app/tester/print/print1.c /trunk/uspace/app/tester/print/print1.def /trunk/uspace/app/tester/print/print4.c /trunk/uspace/app/tester/stdio/stdio1.c /trunk/uspace/app/tester/stdio/stdio2.c /trunk/uspace/app/tester/tester.c /trunk/uspace/app/tester/tester.h /trunk/uspace/app/tester/thread/thread1.c /trunk/uspace/app/tester/vfs/vfs1.c
|
4597 |
5574 d 19 h |
decky |
/trunk/uspace/app/tester/mm/ |
memory allocator test
(modified from original code by Tomas Bures and Lubomir Bulej, used under permission) |
|
/trunk/uspace/app/tester/mm /trunk/uspace/app/tester/mm/malloc1.c /trunk/uspace/app/tester/mm/malloc1.def
|
4592 |
5575 d 18 h |
decky |
/trunk/uspace/app/init/ |
simplify init, create /dev/null0 on demand |
|
/trunk/uspace/app/init/init.c
|
4587 |
5576 d 13 h |
jermar |
/trunk/uspace/ |
Implement stat() and VFS_IN_STAT.
Modify bdsh() to use stat() during ls.
In devfs, allow lookups that don't
specify one of L_FILE and L_DIRECTORY. |
|
/trunk/uspace/app/bdsh/cmds/modules/ls/ls.c /trunk/uspace/app/bdsh/cmds/modules/ls/ls.h /trunk/uspace/lib/libc/generic/vfs/vfs.c /trunk/uspace/lib/libc/include/sys/stat.h /trunk/uspace/srv/fs/devfs/devfs_ops.c /trunk/uspace/srv/vfs/vfs_ops.c
|
4584 |
5576 d 21 h |
jermar |
/trunk/uspace/ |
Separate the VFS input and output protocols. |
|
/trunk/uspace/app/trace/trace.c /trunk/uspace/lib/libc/generic/vfs/vfs.c /trunk/uspace/lib/libc/include/ipc/console.h /trunk/uspace/lib/libc/include/ipc/vfs.h /trunk/uspace/lib/libfs/libfs.c /trunk/uspace/srv/console/console.c /trunk/uspace/srv/fs/devfs/devfs.c /trunk/uspace/srv/fs/fat/fat.c /trunk/uspace/srv/fs/tmpfs/tmpfs.c /trunk/uspace/srv/vfs/vfs.c /trunk/uspace/srv/vfs/vfs_lookup.c /trunk/uspace/srv/vfs/vfs_node.c /trunk/uspace/srv/vfs/vfs_ops.c
|
4573 |
5578 d 1 h |
svoboda |
/trunk/ |
Automatically try to mount FAT from disk0 on /data upon boot. Save Tetris score there. Automatically create disk image in sample config files, if it does not already exist. This tentatively reaches the Milanstone (t.m.). |
|
/trunk/contrib/conf/ia32-qe.sh /trunk/uspace/dist/data
/trunk/contrib/conf/mips32-gx.sh /trunk/uspace/app/init/init.c /trunk/uspace/app/tetris/scores.c
|
4572 |
5578 d 13 h |
svoboda |
/trunk/uspace/ |
Allow libblock to operate in write-through mode. With 'wtcache' mount option, FAT sets write-through mode on the cache. |
|
/trunk/uspace/app/bdsh/cmds/modules/bdd/bdd.c /trunk/uspace/lib/libblock/libblock.c /trunk/uspace/lib/libblock/libblock.h /trunk/uspace/srv/fs/fat/fat_ops.c
|
4565 |
5581 d 16 h |
svoboda |
/trunk/uspace/app/tetris/ |
Tetris high-score table now persists across multiple Tetris executions (and also propagate between concurrently running instances). It is much more stupid than the original BSD implementation, but it works. |
|
/trunk/uspace/app/tetris/scores.c /trunk/uspace/app/tetris/scores.h /trunk/uspace/app/tetris/tetris.c
|
4549 |
5588 d 12 h |
svoboda |
/trunk/uspace/ |
Fix assorted warnings and tiny glitches. |
|
/trunk/uspace/app/init/init.c /trunk/uspace/app/tester/stdio/stdio2.c /trunk/uspace/lib/libblock/libblock.c /trunk/uspace/lib/libc/generic/devmap.c /trunk/uspace/srv/fb/ppm.c
|
4544 |
5588 d 16 h |
svoboda |
/trunk/uspace/app/getvc/ |
Replace one hack with another. |
|
/trunk/uspace/app/getvc/getvc.c
|
4543 |
5589 d 12 h |
jermar |
/trunk/uspace/app/getvc/ |
Flush stdout before spawning shell. |
|
/trunk/uspace/app/getvc/getvc.c
|
4541 |
5589 d 13 h |
svoboda |
/trunk/uspace/ |
Stdio stream buffering (only for writing a.t.m.) Issue: Do we need two moving delimiters (head, tail) to recover from error or is one moving data delimiter enough, like in the current implementation? (Where the buffer must be drained as a whole, cannot do it part at a time. |
|
/trunk/uspace/app/bdsh/input.c /trunk/uspace/app/tester/console/console1.c /trunk/uspace/app/tetris/screen.c /trunk/uspace/lib/libc/generic/io/io.c /trunk/uspace/lib/libc/include/stdio.h
|
4536 |
5590 d 20 h |
svoboda |
/trunk/uspace/app/init/ |
Display type of root filesystem and root device upon boot. |
|
/trunk/uspace/app/init/init.c
|
4521 |
5594 d 15 h |
decky |
/trunk/uspace/app/klog/ |
remove serialization (it is not needed here) |
|
/trunk/uspace/app/klog/klog.c
|
4515 |
5595 d 23 h |
decky |
/trunk/uspace/app/tetris/ |
slightly cleanup the horrible mess of tetris
introduce colors |
|
/trunk/uspace/app/tetris/pathnames.h
/trunk/uspace/app/tetris/input.c /trunk/uspace/app/tetris/input.h /trunk/uspace/app/tetris/scores.c /trunk/uspace/app/tetris/scores.h /trunk/uspace/app/tetris/screen.c /trunk/uspace/app/tetris/screen.h /trunk/uspace/app/tetris/shapes.c /trunk/uspace/app/tetris/tetris.c /trunk/uspace/app/tetris/tetris.h
|
4509 |
5596 d 21 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
|
4496 |
5600 d 18 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
|
4495 |
5600 d 21 h |
decky |
/trunk/uspace/app/klog/ |
as_get_mappable_page() has an argument in bytes, not in pages |
|
/trunk/uspace/app/klog/klog.c
|
4489 |
5601 d 15 h |
decky |
/trunk/uspace/app/trace/ |
update for latest I/O changes
(the protocols are not yet described completely, will be solved soon) |
|
/trunk/uspace/app/trace/trace.c
|
4488 |
5601 d 15 h |
decky |
/trunk/uspace/app/ |
update for latest I/O changes |
|
/trunk/uspace/app/klog/klog.c /trunk/uspace/app/tetris/input.c /trunk/uspace/app/tetris/scores.c /trunk/uspace/app/tetris/screen.c /trunk/uspace/app/tetris/screen.h
|
4487 |
5601 d 15 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 |
5601 d 15 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 |
5601 d 15 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
|
4446 |
5602 d 17 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
|
4417 |
5615 d 3 h |
decky |
/trunk/ |
add simple devfs filesystem and mount it as /dev
add generic NULL device "null" |
|
/trunk/uspace/dist/dev /trunk/uspace/srv/fs/devfs /trunk/uspace/srv/fs/devfs/Makefile /trunk/uspace/srv/fs/devfs/devfs.c /trunk/uspace/srv/fs/devfs/devfs.h /trunk/uspace/srv/fs/devfs/devfs_ops.c /trunk/uspace/srv/fs/devfs/devfs_ops.h
/trunk/boot/arch/amd64/Makefile.inc /trunk/boot/arch/arm32/loader/Makefile /trunk/boot/arch/ia32/Makefile.inc /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/uspace/Makefile /trunk/uspace/app/init/init.c
|
4416 |
5615 d 3 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
|
4413 |
5615 d 22 h |
decky |
/trunk/uspace/ |
add space before $@ |
|
/trunk/uspace/app/init/Makefile /trunk/uspace/app/klog/Makefile /trunk/uspace/app/tester/Makefile /trunk/uspace/app/tetris/Makefile /trunk/uspace/srv/bd/gxe_bd/Makefile /trunk/uspace/srv/console/Makefile /trunk/uspace/srv/devmap/Makefile /trunk/uspace/srv/fb/Makefile /trunk/uspace/srv/fhc/Makefile /trunk/uspace/srv/fs/fat/Makefile /trunk/uspace/srv/fs/tmpfs/Makefile /trunk/uspace/srv/kbd/Makefile /trunk/uspace/srv/ns/Makefile /trunk/uspace/srv/obio/Makefile /trunk/uspace/srv/rd/Makefile /trunk/uspace/srv/vfs/Makefile
|
4408 |
5616 d 13 h |
svoboda |
/trunk/uspace/app/bdsh/ |
Add 'bdd' shell command (block device dump) for testing block device drivers. |
|
/trunk/uspace/app/bdsh/cmds/modules/bdd /trunk/uspace/app/bdsh/cmds/modules/bdd/bdd.c /trunk/uspace/app/bdsh/cmds/modules/bdd/bdd.h /trunk/uspace/app/bdsh/cmds/modules/bdd/bdd_def.h /trunk/uspace/app/bdsh/cmds/modules/bdd/entry.h
/trunk/uspace/app/bdsh/Makefile /trunk/uspace/app/bdsh/cmds/modules/modules.h
|
4401 |
5617 d 15 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
|
4382 |
5623 d 13 h |
svoboda |
/trunk/uspace/app/tester/ |
Add IPC ping-pong benchmark to tester. |
|
/trunk/uspace/app/tester/ipc/ping_pong.c /trunk/uspace/app/tester/ipc/ping_pong.def
/trunk/uspace/app/tester/Makefile /trunk/uspace/app/tester/tester.c /trunk/uspace/app/tester/tester.h
|
4379 |
5624 d 14 h |
svoboda |
/trunk/uspace/app/bdsh/ |
Slash missing in bdsh makefile. |
|
/trunk/uspace/app/bdsh/Makefile
|
4371 |
5624 d 16 h |
jermar |
/trunk/uspace/app/bdsh/ |
Add a bdsh wrapper around mount(). |
|
/trunk/uspace/app/bdsh/cmds/modules/mount /trunk/uspace/app/bdsh/cmds/modules/mount/entry.h /trunk/uspace/app/bdsh/cmds/modules/mount/mount.c /trunk/uspace/app/bdsh/cmds/modules/mount/mount.h /trunk/uspace/app/bdsh/cmds/modules/mount/mount_def.h
/trunk/uspace/app/bdsh/Makefile /trunk/uspace/app/bdsh/cmds/modules/modules.h
|
4364 |
5627 d 23 h |
jermar |
/trunk/uspace/app/bdsh/ |
Add a primitive 'mv' command. This 'mv' is a mere wrapper around rename() and
as such cannot move files across file systems and doesn't work on FAT (because
FAT does not support hardlinks). |
|
/trunk/uspace/app/bdsh/cmds/modules/mv /trunk/uspace/app/bdsh/cmds/modules/mv/entry.h /trunk/uspace/app/bdsh/cmds/modules/mv/mv.c /trunk/uspace/app/bdsh/cmds/modules/mv/mv.h /trunk/uspace/app/bdsh/cmds/modules/mv/mv_def.h
/trunk/uspace/app/bdsh/Makefile /trunk/uspace/app/bdsh/cmds/modules/module_aliases.h /trunk/uspace/app/bdsh/cmds/modules/modules.h
|
4361 |
5629 d 13 h |
jermar |
/trunk/uspace/app/bdsh/cmds/modules/cat/ |
HelenOS open() returns the actual error code, not mere -1. |
|
/trunk/uspace/app/bdsh/cmds/modules/cat/cat.c
|
4356 |
5631 d 11 h |
svoboda |
/trunk/uspace/app/trace/ |
Add console.write method to tracer. |
|
/trunk/uspace/app/trace/trace.c
|
4317 |
5642 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
|
4305 |
5647 d 19 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
|
4268 |
5656 d 2 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 |
5656 d 12 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
|
4264 |
5656 d 13 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
|