Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
3274 |
5850 d 20 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 |
5851 d 2 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 |
5851 d 2 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 |
5851 d 13 h |
jermar |
/trunk/uspace/lib/libc/generic/ |
Cstyle for string.c |
|
/trunk/uspace/lib/libc/generic/string.c
|
3257 |
5852 d 1 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 |
5852 d 1 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 |
5852 d 1 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 |
5852 d 20 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 |
5853 d 13 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 |
5853 d 14 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 |
5853 d 16 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 |
5853 d 17 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 |
5854 d 17 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 |
5854 d 17 h |
jermar |
/trunk/ |
cstyle |
|
/trunk/kernel/generic/src/lib/rd.c /trunk/uspace/lib/libc/generic/vfs/vfs.c
|
3243 |
5856 d 14 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 |
5861 d 18 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 |
5864 d 20 h |
decky |
/trunk/uspace/srv/fb/ |
clear screen not until successful connection from console |
|
/trunk/uspace/srv/fb/msim.c
|
3234 |
5864 d 20 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 |
5864 d 20 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 |
5883 d 3 h |
svoboda |
/trunk/uspace/app/tetris/ |
Fix tetris :) - expecting console at a fixed phone number |
|
/trunk/uspace/app/tetris/input.c
|
3223 |
5883 d 18 h |
svoboda |
/trunk/uspace/srv/loader/ |
Some Cstyle |
|
/trunk/uspace/srv/loader/elf_load.c
|
3222 |
5883 d 19 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 |
5884 d 22 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
|
3214 |
5884 d 23 h |
svoboda |
/trunk/uspace/lib/libc/generic/vfs/ |
Fix missing rc check in libc _open() |
|
/trunk/uspace/lib/libc/generic/vfs/vfs.c
|
3201 |
5888 d 22 h |
svoboda |
/trunk/uspace/ |
Do not disassemble needlessly. |
|
/trunk/uspace/app/init/Makefile /trunk/uspace/app/klog/Makefile /trunk/uspace/app/tester/Makefile /trunk/uspace/app/tetris/Makefile /trunk/uspace/srv/console/Makefile /trunk/uspace/srv/devmap/Makefile /trunk/uspace/srv/fb/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/rd/Makefile /trunk/uspace/srv/vfs/Makefile
|
3195 |
5890 d 20 h |
svoboda |
/trunk/uspace/lib/libc/arch/arm32/include/ |
Fix: arm32 is little-endian. |
|
/trunk/uspace/lib/libc/arch/arm32/include/byteorder.h
|
3164 |
5905 d 13 h |
jermar |
/trunk/ |
First argument of atomic functions is read-write (ia32). |
|
/trunk/kernel/arch/ia32/include/atomic.h /trunk/uspace/lib/libc/arch/ia32/include/atomic.h
|
3163 |
5905 d 13 h |
jermar |
/trunk/ |
First argument to atomic functions is read-write (amd64). |
|
/trunk/kernel/arch/amd64/include/atomic.h /trunk/uspace/lib/libc/arch/amd64/include/atomic.h
|
3162 |
5905 d 14 h |
jermar |
/trunk/ |
The first argument to atomic_add() is read-write. (mips32) |
|
/trunk/kernel/arch/mips32/include/atomic.h /trunk/uspace/lib/libc/arch/mips32/include/atomic.h
|
3119 |
5914 d 20 h |
jermar |
/trunk/uspace/srv/fs/fat/ |
Initialize in-core FAT root directory node during mount. |
|
/trunk/uspace/srv/fs/fat/fat_ops.c
|
3117 |
5914 d 21 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
|
3115 |
5914 d 22 h |
decky |
/trunk/uspace/app/klog/ |
wait until console is initiated |
|
/trunk/uspace/app/klog/klog.c
|
3112 |
5915 d 12 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
|
3111 |
5915 d 14 h |
jermar |
/trunk/uspace/srv/fs/fat/ |
Put a frequently used construct into a function. |
|
/trunk/uspace/srv/fs/fat/fat.h /trunk/uspace/srv/fs/fat/fat_idx.c
|
3110 |
5915 d 15 h |
jermar |
/trunk/uspace/srv/fs/fat/ |
Initialize global FAT IDX structures when the FAT server starts and initialize
per-file system FAT IDX structures when a file system gets mounted. |
|
/trunk/uspace/srv/fs/fat/fat.c /trunk/uspace/srv/fs/fat/fat.h /trunk/uspace/srv/fs/fat/fat_idx.c /trunk/uspace/srv/fs/fat/fat_ops.c
|
3109 |
5915 d 20 h |
jermar |
/trunk/uspace/srv/ |
Split the 'mount another filesystem here' and 'you are being mounted and the
device is this' mount semantics. Add VFS_MOUNTED VFS operation that corresponds
to the latter and reserve VFS_MOUNT only for the former. Because of this
change, the VFS server does not maintain the mr_node VFS node for the name space
root anymore and the VFS_LOOKUP operation is now not meant to be used on
unmounted file system, not even for looking up the root node of unmounted file
systems. In the light of these changes, TMPFS is now initialized from
tmpfs_mounted() function. |
|
/trunk/uspace/srv/fs/tmpfs/tmpfs.c /trunk/uspace/srv/fs/tmpfs/tmpfs.h /trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c /trunk/uspace/srv/vfs/vfs.h /trunk/uspace/srv/vfs/vfs_lookup.c /trunk/uspace/srv/vfs/vfs_ops.c
|
3103 |
5916 d 12 h |
jermar |
/trunk/uspace/srv/fs/tmpfs/ |
Evict the code which loads the TMPFS file system from a file system dump to a
dedicated source file. |
|
/trunk/uspace/srv/fs/tmpfs/tmpfs_dump.c
/trunk/uspace/srv/fs/tmpfs/Makefile /trunk/uspace/srv/fs/tmpfs/tmpfs.h /trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
|
3098 |
5917 d 15 h |
svoboda |
/trunk/ |
Make mips32 compile again |
|
/trunk/kernel/arch/mips32/include/types.h /trunk/kernel/generic/include/typedefs.h /trunk/uspace/lib/libc/arch/mips32/src/entry.s
|
3095 |
5917 d 16 h |
svoboda |
/trunk/ |
Make ia64 compile again. |
|
/trunk/kernel/arch/ia64/include/types.h /trunk/uspace/lib/libc/arch/ia64/src/entry.s
|
3094 |
5917 d 16 h |
svoboda |
/trunk/ |
Make arm32 compile again. |
|
/trunk/kernel/arch/arm32/Makefile.inc /trunk/kernel/arch/arm32/include/types.h /trunk/kernel/arch/arm32/src/mm/page_fault.c /trunk/uspace/lib/libc/arch/arm32/src/entry.s
|