Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
3368 |
5825 d 4 h |
decky |
/trunk/ |
configurable cross-compiler prefix (using CROSS_PREFIX) |
|
/trunk/boot/arch/sparc64/loader/Makefile /trunk/contrib/toolchain/toolchain.sparc64.sh /trunk/kernel/arch/sparc64/Makefile.inc /trunk/uspace/lib/libc/arch/sparc64/Makefile.inc
|
3367 |
5825 d 15 h |
post |
/trunk/uspace/app/bdsh/ |
Add a README to explain how things work |
|
/trunk/uspace/app/bdsh/README
|
3366 |
5825 d 15 h |
post |
/trunk/uspace/app/bdsh/ |
Housekeeping list, complete lingering things before they get forgotten:
* cli_*() now sets a global cli_errno, error functions cleaned up
* Finish internal cli_*() functions in util.c
* Don't expose cli_init() or cli_finit()
* Get rid of unused globals
* Don't set globals in commands themselves
* Update README files
* Fix stale comments |
|
/trunk/uspace/app/bdsh/cmds/builtins/README /trunk/uspace/app/bdsh/cmds/modules/README /trunk/uspace/app/bdsh/cmds/modules/help/help.c /trunk/uspace/app/bdsh/cmds/modules/quit/quit.c /trunk/uspace/app/bdsh/errors.c /trunk/uspace/app/bdsh/errors.h /trunk/uspace/app/bdsh/errstr.h /trunk/uspace/app/bdsh/exec.c /trunk/uspace/app/bdsh/input.c /trunk/uspace/app/bdsh/scli.c /trunk/uspace/app/bdsh/scli.h /trunk/uspace/app/bdsh/util.c
|
3364 |
5827 d 15 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/ |
Fix command description display, only command entry points need to be exposed. |
|
/trunk/uspace/app/bdsh/cmds/modules/cat/cat.c /trunk/uspace/app/bdsh/cmds/modules/cat/cat.h /trunk/uspace/app/bdsh/cmds/modules/help/help.c /trunk/uspace/app/bdsh/cmds/modules/help/help.h /trunk/uspace/app/bdsh/cmds/modules/ls/ls.c /trunk/uspace/app/bdsh/cmds/modules/ls/ls.def /trunk/uspace/app/bdsh/cmds/modules/ls/ls.h /trunk/uspace/app/bdsh/cmds/modules/mkdir/mkdir.c /trunk/uspace/app/bdsh/cmds/modules/mkdir/mkdir.def /trunk/uspace/app/bdsh/cmds/modules/mkdir/mkdir.h /trunk/uspace/app/bdsh/cmds/modules/rm/rm.c /trunk/uspace/app/bdsh/cmds/modules/rm/rm.def /trunk/uspace/app/bdsh/cmds/modules/rm/rm.h /trunk/uspace/app/bdsh/cmds/modules/touch/touch.def
|
3361 |
5828 d 5 h |
post |
/trunk/uspace/app/bdsh/ |
Update TODO list |
|
/trunk/uspace/app/bdsh/TODO
|
3360 |
5828 d 5 h |
post |
/trunk/uspace/app/bdsh/ |
Remove 'mount' |
|
/trunk/uspace/app/bdsh/cmds/modules/mount
/trunk/uspace/app/bdsh/Makefile /trunk/uspace/app/bdsh/cmds/modules/modules.h
|
3358 |
5828 d 13 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/cat/ |
cat: no reason to set i = optind twice :) |
|
/trunk/uspace/app/bdsh/cmds/modules/cat/cat.c
|
3357 |
5828 d 14 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/cat/ |
cat: purpose updated in cat.def |
|
/trunk/uspace/app/bdsh/cmds/modules/cat/cat.def
|
3356 |
5828 d 14 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/cat/ |
Add a basic cat, cat --help shows future options |
|
/trunk/uspace/app/bdsh/cmds/modules/cat/cat.c /trunk/uspace/app/bdsh/cmds/modules/cat/cat.h
|
3355 |
5829 d 12 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/mkdir/ |
mkdir: Get rid of useless while loop (spaghetti) |
|
/trunk/uspace/app/bdsh/cmds/modules/mkdir/mkdir.c
|
3354 |
5829 d 14 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/mkdir/ |
mkdir: increment ret if mkdir() fails |
|
/trunk/uspace/app/bdsh/cmds/modules/mkdir/mkdir.c
|
3353 |
5829 d 14 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/mkdir/ |
mkdir is finished, -p / --parents options and more now functional |
|
/trunk/uspace/app/bdsh/cmds/modules/mkdir/mkdir.c /trunk/uspace/app/bdsh/cmds/modules/mkdir/mkdir.h
|
3352 |
5830 d 1 h |
jermar |
/trunk/uspace/srv/ |
Add reference to the mounted FS root.
This makes it possible to keep the FS root logically unlinked (i.e. lnkcnt == 0)
because it prevents VFS from attempting to destroy it during closedir(). |
|
/trunk/uspace/srv/fs/fat/fat_ops.c /trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c /trunk/uspace/srv/vfs/vfs_ops.c
|
3351 |
5830 d 3 h |
jermar |
/trunk/uspace/lib/libc/generic/io/ |
Cstyle and formatting changes. |
|
/trunk/uspace/lib/libc/generic/io/asprintf.c /trunk/uspace/lib/libc/generic/io/vsnprintf.c
|
3349 |
5830 d 10 h |
jermar |
/trunk/ |
Enable bdsh in most of the architectures, remove cli and simplify init. |
|
/trunk/uspace/app/cli
/trunk/boot/arch/amd64/Makefile.inc /trunk/boot/arch/arm32/loader/Makefile /trunk/boot/arch/ia32/Makefile.inc /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
|
3348 |
5830 d 10 h |
jermar |
/trunk/uspace/lib/libc/ |
Add asprintf(). |
|
/trunk/uspace/lib/libc/generic/io/asprintf.c
/trunk/uspace/lib/libc/Makefile /trunk/uspace/lib/libc/generic/io/sprintf.c /trunk/uspace/lib/libc/include/stdio.h
|
3347 |
5830 d 10 h |
jermar |
/trunk/uspace/lib/libc/generic/io/ |
printf_putstr() must return the number of characters printed. |
|
/trunk/uspace/lib/libc/generic/io/printf_core.c
|
3346 |
5830 d 12 h |
post |
/trunk/ |
Merge with shell @ 3241 for bdsh |
|
/trunk/uspace/app/bdsh /trunk/uspace/lib/libc/generic/getopt.c /trunk/uspace/lib/libc/include/getopt.h
/trunk/boot/arch/ia32/Makefile.inc /trunk/uspace/Makefile /trunk/uspace/app/init/init.c /trunk/uspace/lib/libc/Makefile
|
3344 |
5832 d 1 h |
jermar |
/trunk/uspace/lib/libc/generic/ |
Change ipc_share_{in|out}_start() to use the async framework. |
|
/trunk/uspace/lib/libc/generic/ipc.c
|
3335 |
5833 d 23 h |
jermar |
/trunk/uspace/srv/fs/fat/ |
Support for readdir() on FAT. |
|
/trunk/uspace/srv/fs/fat/fat_ops.c
|
3334 |
5836 d 6 h |
jermar |
/trunk/uspace/lib/libc/generic/ |
Let ipc_data_{read|write}_start() use the async framework. |
|
/trunk/uspace/lib/libc/generic/ipc.c
|
3331 |
5836 d 8 h |
jermar |
/trunk/uspace/lib/libc/generic/vfs/ |
Fix canonify() to set correct length even for paths that have no components. |
|
/trunk/uspace/lib/libc/generic/vfs/canonify.c
|
3328 |
5836 d 10 h |
jermar |
/trunk/uspace/lib/libc/generic/vfs/ |
Fix off-by-one bug in absolutize(). |
|
/trunk/uspace/lib/libc/generic/vfs/vfs.c
|
3325 |
5837 d 1 h |
jermar |
/trunk/uspace/srv/fs/fat/ |
Determine the size of a directory node by walking the FAT and counting clusters.
This eliminates the hardcoded limit on the number of directory entries. |
|
/trunk/uspace/srv/fs/fat/fat_ops.c
|
3315 |
5838 d 1 h |
jermar |
/trunk/uspace/srv/loader/ |
Make sure that the loader keeps on read()ing until it read()s all it wanted to
read(). |
|
/trunk/uspace/srv/loader/elf_load.c
|
3314 |
5838 d 1 h |
jermar |
/trunk/uspace/srv/fs/fat/ |
fat_read() should expect IPC_M_DATA_READ instead of IPC_M_DATA_WRITE. |
|
/trunk/uspace/srv/fs/fat/fat_ops.c
|
3313 |
5838 d 1 h |
jermar |
/trunk/uspace/lib/libc/generic/vfs/ |
When read() fails, return the actual error. |
|
/trunk/uspace/lib/libc/generic/vfs/vfs.c
|
3312 |
5838 d 1 h |
jermar |
/trunk/uspace/srv/fs/fat/ |
When removing a FAT node from the ffn list, use the correct pointer instead of
an uninitialized one. |
|
/trunk/uspace/srv/fs/fat/fat_ops.c
|
3308 |
5840 d 0 h |
jermar |
/trunk/uspace/srv/fs/fat/ |
More complete fat_read(). |
|
/trunk/uspace/srv/fs/fat/fat_ops.c
|
3307 |
5840 d 1 h |
jermar |
/trunk/uspace/srv/fs/fat/ |
Dummy implementation of fat_read(). |
|
/trunk/uspace/srv/fs/fat/fat.c /trunk/uspace/srv/fs/fat/fat.h /trunk/uspace/srv/fs/fat/fat_ops.c
|
3306 |
5840 d 10 h |
jermar |
/trunk/uspace/lib/libc/ |
Fix handling of relative paths in task_spawn(). |
|
/trunk/uspace/lib/libc/generic/task.c /trunk/uspace/lib/libc/generic/vfs/vfs.c /trunk/uspace/lib/libc/include/vfs/vfs.h
|
3292 |
5841 d 4 h |
jermar |
/trunk/uspace/lib/libc/generic/vfs/ |
Fix absolutize() wrt. to relative paths. |
|
/trunk/uspace/lib/libc/generic/vfs/vfs.c
|
3290 |
5841 d 4 h |
jermar |
/trunk/uspace/app/ |
Remove ash. |
|
/trunk/uspace/app/ash
|
3282 |
5841 d 22 h |
jermar |
/trunk/uspace/srv/fs/fat/ |
FAT dentry type used for subdirectories doesn't store the directory size in the 'size' field.
Introduce a simple workaround that will let us have 64 directory entries at maximum. |
|
/trunk/uspace/srv/fs/fat/fat_ops.c
|
3274 |
5842 d 5 h |
jermar |
/trunk/ |
memcpy(), memmove() and similar functions return dst instead of src.
Fix all implementations, including those in assembly. ppc32 assembly
version didn't seem to be affected by this. |
|
/trunk/boot/arch/arm32/loader/asm.S /trunk/boot/arch/mips32/loader/asm.S /trunk/boot/arch/sparc64/loader/asm.S /trunk/kernel/arch/amd64/src/asm_utils.S /trunk/kernel/arch/arm32/src/asm.S /trunk/kernel/arch/ia32/src/asm.S /trunk/kernel/arch/ia32xen/src/asm.S /trunk/kernel/arch/ia64/src/asm.S /trunk/kernel/arch/mips32/src/asm.S /trunk/kernel/arch/sparc64/src/asm.S /trunk/kernel/generic/src/lib/memstr.c /trunk/uspace/lib/libc/generic/string.c
|
3272 |
5842 d 11 h |
jermar |
/trunk/uspace/srv/fs/fat/ |
Several fixes for the FAT file system:
- do not copy padding during file name canonization
- properly nul-terminate the FAT file name during canonization
- compare FAT file name and the component name case insensitively
- block_get() takes a block offset, not byte offset as parameter |
|
/trunk/uspace/srv/fs/fat/fat_ops.c
|
3271 |
5842 d 11 h |
jermar |
/trunk/uspace/lib/libc/ |
Add tolower() and stricmp(). |
|
/trunk/uspace/lib/libc/generic/string.c /trunk/uspace/lib/libc/include/ctype.h /trunk/uspace/lib/libc/include/string.h
|
3261 |
5842 d 22 h |
jermar |
/trunk/uspace/lib/libc/generic/ |
Cstyle for string.c |
|
/trunk/uspace/lib/libc/generic/string.c
|
3257 |
5843 d 11 h |
jermar |
/trunk/uspace/srv/fs/fat/ |
First attempt at delivering the FAT16 read-only support.
Needless to say it doesn't work yet, but now it's only
the lurking bugs that need to be fixed. |
|
/trunk/uspace/srv/fs/fat/fat_ops.c
|
3256 |
5843 d 11 h |
jermar |
/trunk/uspace/app/init/ |
If mount() says ENOENT, don't attempt to mount the file system again. |
|
/trunk/uspace/app/init/init.c
|