Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
3346 |
5841 d 9 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 |
5842 d 23 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 |
5844 d 21 h |
jermar |
/trunk/uspace/srv/fs/fat/ |
Support for readdir() on FAT. |
|
/trunk/uspace/srv/fs/fat/fat_ops.c
|
3334 |
5847 d 3 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 |
5847 d 5 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 |
5847 d 7 h |
jermar |
/trunk/uspace/lib/libc/generic/vfs/ |
Fix off-by-one bug in absolutize(). |
|
/trunk/uspace/lib/libc/generic/vfs/vfs.c
|
3325 |
5847 d 22 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 |
5848 d 22 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 |
5848 d 23 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 |
5848 d 23 h |
jermar |
/trunk/uspace/lib/libc/generic/vfs/ |
When read() fails, return the actual error. |
|
/trunk/uspace/lib/libc/generic/vfs/vfs.c
|
3312 |
5848 d 23 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 |
5850 d 21 h |
jermar |
/trunk/uspace/srv/fs/fat/ |
More complete fat_read(). |
|
/trunk/uspace/srv/fs/fat/fat_ops.c
|
3307 |
5850 d 23 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 |
5851 d 7 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 |
5852 d 1 h |
jermar |
/trunk/uspace/lib/libc/generic/vfs/ |
Fix absolutize() wrt. to relative paths. |
|
/trunk/uspace/lib/libc/generic/vfs/vfs.c
|
3290 |
5852 d 2 h |
jermar |
/trunk/uspace/app/ |
Remove ash. |
|
/trunk/uspace/app/ash
|
3282 |
5852 d 20 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 |
5853 d 3 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 |
5853 d 9 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 |
5853 d 9 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 |
5853 d 20 h |
jermar |
/trunk/uspace/lib/libc/generic/ |
Cstyle for string.c |
|
/trunk/uspace/lib/libc/generic/string.c
|
3257 |
5854 d 8 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 |
5854 d 8 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
|
3255 |
5854 d 8 h |
jermar |
/trunk/uspace/ |
Fix the VFS protocol so that the client can determine that VFS_MOUNT failed due
to a request to mount an unregistered file system. |
|
/trunk/uspace/lib/libc/generic/vfs/vfs.c /trunk/uspace/srv/vfs/vfs_ops.c
|
3254 |
5855 d 4 h |
jermar |
/trunk/uspace/ |
Stop using fixed size BLOCK_SIZE in the ramdisk task and allow each client to negotiate its own
maximum block size. Allow the individual transfers to use block sizes smaller and equal to the
negotiated maximum block size. |
|
/trunk/uspace/lib/libfs/libfs.c /trunk/uspace/srv/rd/rd.c /trunk/uspace/srv/rd/rd.h
|
3253 |
5855 d 20 h |
jermar |
/trunk/uspace/srv/fs/fat/ |
Pass block size to block_get() in the last argument. |
|
/trunk/uspace/srv/fs/fat/fat_ops.c
|
3252 |
5855 d 21 h |
jermar |
/trunk/uspace/ |
Add a comment to libfs_blockread() and change type from size_t to off_t at
various places. |
|
/trunk/uspace/lib/libfs/libfs.c /trunk/uspace/lib/libfs/libfs.h /trunk/uspace/srv/fs/tmpfs/tmpfs_dump.c
|
3251 |
5855 d 23 h |
jermar |
/trunk/uspace/ |
Move tmpfs_blockread() to libfs and rename it to libfs_blockread().
Add one argument to specify block size. |
|
/trunk/uspace/lib/libfs/libfs.c /trunk/uspace/lib/libfs/libfs.h /trunk/uspace/srv/fs/tmpfs/tmpfs_dump.c
|
3250 |
5856 d 0 h |
jermar |
/trunk/uspace/srv/fs/tmpfs/ |
Let tmpfs_blockread() use async_req_2_1() instead of ipc_call_sync_2_1(). |
|
/trunk/uspace/srv/fs/tmpfs/tmpfs_dump.c
|
3247 |
5857 d 0 h |
jermar |
/trunk/uspace/srv/fs/tmpfs/ |
Avoid magic numbers in tmpfs_dump.c. |
|
/trunk/uspace/srv/fs/tmpfs/tmpfs.h /trunk/uspace/srv/fs/tmpfs/tmpfs_dump.c
|
3246 |
5857 d 0 h |
jermar |
/trunk/ |
cstyle |
|
/trunk/kernel/generic/src/lib/rd.c /trunk/uspace/lib/libc/generic/vfs/vfs.c
|
3243 |
5858 d 21 h |
jermar |
/trunk/ |
Boot infrastructure support for FAT16 init ramdisks.
Only amd64 so far. |
|
/trunk/boot/arch/amd64/Makefile.inc /trunk/boot/arch/amd64/grub/menu.lst /trunk/boot/boot.config /trunk/uspace/app/init/init.c
|
3238 |
5864 d 1 h |
jermar |
/trunk/uspace/lib/libc/ |
Add strdup(), contributed by Tim Post. |
|
/trunk/uspace/lib/libc/generic/string.c /trunk/uspace/lib/libc/include/string.h
|
3235 |
5867 d 3 h |
decky |
/trunk/uspace/srv/fb/ |
clear screen not until successful connection from console |
|
/trunk/uspace/srv/fb/msim.c
|
3234 |
5867 d 3 h |
decky |
/trunk/ |
reintroduce support for MSIM text console in user space |
|
/trunk/uspace/srv/fb/msim.c /trunk/uspace/srv/fb/msim.h
/trunk/kernel/arch/ia32/src/drivers/ega.c /trunk/kernel/arch/mips32/include/drivers/msim.h /trunk/kernel/arch/mips32/include/drivers/serial.h /trunk/kernel/arch/mips32/src/drivers/msim.c /trunk/uspace/srv/fb/Makefile /trunk/uspace/srv/fb/main.c
|
3233 |
5867 d 3 h |
decky |
/trunk/ |
remove dummy page coloring facility, which is currenty not used |
|
/trunk/kernel/arch/amd64/include/mm/page.h /trunk/kernel/arch/arm32/include/mm/page.h /trunk/kernel/arch/ia32/include/mm/page.h /trunk/kernel/arch/ia32xen/include/mm/page.h /trunk/kernel/arch/ia64/include/mm/page.h /trunk/kernel/arch/mips32/include/mm/page.h /trunk/kernel/arch/ppc32/include/mm/page.h /trunk/kernel/arch/ppc64/include/mm/page.h /trunk/kernel/arch/sparc64/include/mm/page.h /trunk/kernel/generic/include/mm/page.h /trunk/uspace/lib/libc/arch/amd64/include/config.h /trunk/uspace/lib/libc/arch/arm32/include/config.h /trunk/uspace/lib/libc/arch/ia32/include/config.h /trunk/uspace/lib/libc/arch/ia64/include/config.h /trunk/uspace/lib/libc/arch/mips32/include/config.h /trunk/uspace/lib/libc/arch/ppc32/include/config.h /trunk/uspace/lib/libc/arch/ppc64/include/config.h /trunk/uspace/lib/libc/arch/sparc64/include/config.h
|
3224 |
5885 d 10 h |
svoboda |
/trunk/uspace/app/tetris/ |
Fix tetris :) - expecting console at a fixed phone number |
|
/trunk/uspace/app/tetris/input.c
|
3223 |
5886 d 1 h |
svoboda |
/trunk/uspace/srv/loader/ |
Some Cstyle |
|
/trunk/uspace/srv/loader/elf_load.c
|
3222 |
5886 d 2 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
|
3215 |
5887 d 5 h |
jermar |
/trunk/uspace/srv/vfs/ |
Instead of aborting or crashing, return EBADF when an invalid file descriptor
is passed to vfs_close(). |
|
/trunk/uspace/srv/vfs/vfs.h /trunk/uspace/srv/vfs/vfs_file.c /trunk/uspace/srv/vfs/vfs_ops.c
|