Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
4684 |
5499 d 12 h |
svoboda |
/trunk/ |
Even more warnings. |
|
/trunk/kernel/generic/include/string.h /trunk/kernel/generic/src/lib/string.c /trunk/uspace/lib/libc/generic/string.c /trunk/uspace/lib/libc/include/string.h /trunk/uspace/srv/vfs/vfs_ops.c
|
4680 |
5499 d 15 h |
svoboda |
/trunk/uspace/ |
Fix some warnings. |
|
/trunk/uspace/app/tester/thread/thread1.c /trunk/uspace/app/tetris/shapes.c /trunk/uspace/app/tetris/tetris.c /trunk/uspace/lib/libc/generic/vfs/vfs.c /trunk/uspace/srv/console/console.c /trunk/uspace/srv/devmap/devmap.c /trunk/uspace/srv/fs/fat/fat_ops.c
|
4671 |
5503 d 22 h |
decky |
/trunk/uspace/lib/libc/generic/ |
the size argument to split_mark() should include the header and footer size |
|
/trunk/uspace/lib/libc/generic/malloc.c
|
4644 |
5518 d 12 h |
svoboda |
/trunk/ |
Method for getting console color capabilities. Use to fix invisible tetris pieces. |
|
/trunk/contrib/conf/mips32-gx.sh /trunk/uspace/app/tetris/screen.c /trunk/uspace/lib/libc/generic/io/console.c /trunk/uspace/lib/libc/include/io/console.h /trunk/uspace/lib/libc/include/ipc/console.h /trunk/uspace/lib/libc/include/ipc/fb.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
|
4643 |
5519 d 1 h |
jermar |
/trunk/uspace/lib/libc/generic/ |
realloc() should really check whether the next block is indeed free. |
|
/trunk/uspace/lib/libc/generic/malloc.c
|
4642 |
5519 d 12 h |
svoboda |
/trunk/uspace/lib/libc/generic/ |
Fix alignment errors in realloc(). |
|
/trunk/uspace/lib/libc/generic/malloc.c
|
4636 |
5521 d 13 h |
jermar |
/trunk/ |
sparc64's SP_DELTA needs more space. |
|
/trunk/kernel/arch/sparc64/include/context.h /trunk/uspace/lib/libc/arch/sparc64/include/fibril.h /trunk/uspace/lib/libc/arch/sparc64/include/stack.h
|
4635 |
5521 d 18 h |
jermar |
/trunk/ |
Things are much easier when the compiler knows that context_save() returns twice. |
|
/trunk/kernel/generic/include/context.h /trunk/uspace/lib/libc/generic/fibril.c /trunk/uspace/lib/libc/include/fibril.h
|
4633 |
5522 d 11 h |
jermar |
/trunk/uspace/lib/libc/generic/ |
In fibril_switch(), make sure to reload srcf with the current fibril address
in the post-context_restore() code. Its value may be invalid after
contex_restore() due to e.g. register recycling. |
|
/trunk/uspace/lib/libc/generic/fibril.c
|
4620 |
5526 d 13 h |
svoboda |
/trunk/uspace/ |
Allow to determine whether a task returned value before terminatign. |
|
/trunk/uspace/app/bdsh/exec.c /trunk/uspace/app/getvc/getvc.c /trunk/uspace/lib/libc/generic/task.c /trunk/uspace/lib/libc/include/task.h /trunk/uspace/srv/ns/task.c
|
4618 |
5526 d 14 h |
svoboda |
/trunk/uspace/ |
Pass task ID to NS from loader. This prevents ID spoofing by user apps. |
|
/trunk/uspace/lib/libc/generic/task.c /trunk/uspace/lib/libc/include/ipc/ns.h /trunk/uspace/srv/loader/main.c /trunk/uspace/srv/ns/ns.c /trunk/uspace/srv/ns/task.c /trunk/uspace/srv/ns/task.h
|
4617 |
5526 d 18 h |
svoboda |
/trunk/uspace/ |
Allow task to return value (will be improved). |
|
/trunk/uspace/app/bdsh/exec.c /trunk/uspace/app/getvc/getvc.c /trunk/uspace/lib/libc/generic/libc.c /trunk/uspace/lib/libc/generic/task.c /trunk/uspace/lib/libc/include/ipc/ns.h /trunk/uspace/lib/libc/include/task.h /trunk/uspace/srv/ns/ns.c /trunk/uspace/srv/ns/task.c /trunk/uspace/srv/ns/task.h
|
4611 |
5528 d 21 h |
jermar |
/trunk/uspace/lib/libblock/ |
Make the libblock cache behave more like a cache and fix some bugs
present in the previously unused code paths. |
|
/trunk/uspace/lib/libblock/libblock.c
|
4609 |
5530 d 18 h |
decky |
/trunk/uspace/lib/libc/include/ipc/ |
remove obsolete VFS methods |
|
/trunk/uspace/lib/libc/include/ipc/vfs.h
|
4608 |
5530 d 19 h |
jermar |
/trunk/uspace/ |
Statically allocated stat structure will do. |
|
/trunk/uspace/lib/libfs/libfs.c /trunk/uspace/srv/fs/devfs/devfs_ops.c
|
4607 |
5530 d 19 h |
jermar |
/trunk/uspace/lib/libc/generic/ |
Fix typos. |
|
/trunk/uspace/lib/libc/generic/malloc.c
|
4606 |
5530 d 19 h |
decky |
/trunk/uspace/lib/libc/generic/ |
small allocator optimization
add some comments |
|
/trunk/uspace/lib/libc/generic/malloc.c
|
4601 |
5532 d 18 h |
decky |
/trunk/uspace/lib/libc/ |
small fixes and coding style changes related to the new memory allocator |
|
/trunk/uspace/lib/libc/generic/errno.c /trunk/uspace/lib/libc/include/adt/gcdlcm.h
/trunk/uspace/lib/libc/Makefile /trunk/uspace/lib/libc/arch/ia64/Makefile.inc /trunk/uspace/lib/libc/generic/as.c /trunk/uspace/lib/libc/generic/async.c /trunk/uspace/lib/libc/generic/getopt.c /trunk/uspace/lib/libc/generic/io/io.c /trunk/uspace/lib/libc/generic/libc.c /trunk/uspace/lib/libc/generic/mman.c /trunk/uspace/lib/libc/include/async.h /trunk/uspace/lib/libc/include/bitops.h /trunk/uspace/lib/libc/include/errno.h /trunk/uspace/lib/libc/include/getopt.h /trunk/uspace/lib/libc/include/macros.h /trunk/uspace/lib/libc/include/mem.h /trunk/uspace/lib/libc/include/stdio.h /trunk/uspace/lib/libc/include/stdlib.h /trunk/uspace/lib/libc/include/unistd.h /trunk/uspace/lib/libc/include/vfs/vfs.h
|
4600 |
5532 d 18 h |
decky |
/trunk/uspace/lib/libc/generic/ |
implement simple first-fit memory allocator
(modified from original code by Petr Tuma, used under permission) |
|
/trunk/uspace/lib/libc/generic/malloc.c
|
4599 |
5532 d 18 h |
decky |
/trunk/uspace/lib/libc/include/ |
define just the basic memory allocator interface |
|
/trunk/uspace/lib/libc/include/malloc.h
|
4598 |
5532 d 18 h |
decky |
/trunk/uspace/lib/libc/ |
remove dlmalloc |
|
/trunk/uspace/lib/libc/malloc
|
4591 |
5533 d 18 h |
decky |
/trunk/uspace/ |
add support for creating null devices on demand |
|
/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/devmap/devmap.c
|
4590 |
5534 d 0 h |
decky |
/trunk/uspace/lib/libc/generic/io/ |
set buffering according to what file descriptor we are opening
(this still does not cover the full complexity of stdio buffering) |
|
/trunk/uspace/lib/libc/generic/io/io.c
|
4587 |
5534 d 12 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
|
4586 |
5534 d 14 h |
jermar |
/trunk/uspace/ |
Add libfs_stat() and let FAT and TMPFS use it. |
|
/trunk/uspace/lib/libfs/libfs.c /trunk/uspace/lib/libfs/libfs.h /trunk/uspace/srv/fs/fat/fat_ops.c /trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
|
4585 |
5534 d 15 h |
jermar |
/trunk/uspace/ |
Introduce VFS_IN_FSTAT and VFS_OUT_STAT.
Provide libc fstat() and devfs_stat().
This functionality replaces VFS_IN_NODE
and VFS_IN/OUT_DEVICE. FAT and TMPFS
still do not implement this and VFS_IN_STAT
and stat() need implementation as well. |
|
/trunk/uspace/lib/libc/generic/vfs/vfs.c /trunk/uspace/lib/libc/include/ipc/vfs.h /trunk/uspace/lib/libc/include/sys/stat.h /trunk/uspace/srv/fs/devfs/devfs.c /trunk/uspace/srv/fs/devfs/devfs_ops.c /trunk/uspace/srv/fs/devfs/devfs_ops.h /trunk/uspace/srv/fs/fat/fat.c /trunk/uspace/srv/fs/fat/fat.h /trunk/uspace/srv/fs/fat/fat_ops.c /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.c /trunk/uspace/srv/vfs/vfs.h /trunk/uspace/srv/vfs/vfs_ops.c
|
4584 |
5534 d 20 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
|
4583 |
5534 d 22 h |
svoboda |
/trunk/uspace/ |
Fix chaos in block library. |
|
/trunk/uspace/lib/libblock/libblock.c /trunk/uspace/lib/libblock/libblock.h /trunk/uspace/srv/fs/tmpfs/tmpfs_dump.c
|
4572 |
5536 d 12 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
|
4556 |
5545 d 1 h |
decky |
/trunk/ |
define endianess externally to be able to exactly specify whether we are using UTF-32LE or UTF-32BE
quit messing with BOM in UTF-32 |
|
/trunk/kernel/arch/amd64/include/byteorder.h /trunk/kernel/arch/arm32/include/byteorder.h /trunk/kernel/arch/ia32/include/byteorder.h /trunk/kernel/arch/ia64/include/byteorder.h /trunk/kernel/arch/mips32/include/byteorder.h /trunk/kernel/arch/ppc32/include/byteorder.h /trunk/kernel/arch/sparc64/include/byteorder.h /trunk/uspace/lib/libc/arch/amd64/include/byteorder.h /trunk/uspace/lib/libc/arch/arm32/include/byteorder.h /trunk/uspace/lib/libc/arch/ia32/include/byteorder.h /trunk/uspace/lib/libc/arch/ia64/include/byteorder.h /trunk/uspace/lib/libc/arch/mips32/include/byteorder.h /trunk/uspace/lib/libc/arch/mips32eb/include/byteorder.h /trunk/uspace/lib/libc/arch/ppc32/include/byteorder.h /trunk/uspace/lib/libc/arch/sparc64/include/byteorder.h
/trunk/kernel/Makefile /trunk/kernel/arch/amd64/Makefile.inc /trunk/kernel/arch/arm32/Makefile.inc /trunk/kernel/arch/ia32/Makefile.inc /trunk/kernel/arch/ia64/Makefile.inc /trunk/kernel/arch/mips32/Makefile.inc /trunk/kernel/arch/mips32/include/elf.h /trunk/kernel/arch/ppc32/Makefile.inc /trunk/kernel/arch/sparc64/Makefile.inc /trunk/kernel/generic/include/byteorder.h /trunk/kernel/generic/include/string.h /trunk/kernel/generic/src/printf/printf_core.c /trunk/uspace/lib/libc/Makefile /trunk/uspace/lib/libc/Makefile.toolchain /trunk/uspace/lib/libc/arch/amd64/Makefile.inc /trunk/uspace/lib/libc/arch/arm32/Makefile.inc /trunk/uspace/lib/libc/arch/ia32/Makefile.inc /trunk/uspace/lib/libc/arch/ia64/Makefile.inc /trunk/uspace/lib/libc/arch/mips32/Makefile.inc /trunk/uspace/lib/libc/arch/mips32eb/Makefile.inc /trunk/uspace/lib/libc/arch/ppc32/Makefile.inc /trunk/uspace/lib/libc/arch/sparc64/Makefile.inc /trunk/uspace/lib/libc/generic/io/printf_core.c /trunk/uspace/lib/libc/include/byteorder.h /trunk/uspace/lib/libc/include/string.h /trunk/uspace/lib/softfloat/Makefile /trunk/uspace/lib/softfloat/include/sftypes.h
|
4553 |
5545 d 12 h |
jermar |
/trunk/uspace/lib/libblock/ |
Use fibril synchronization in libblock. |
|
/trunk/uspace/lib/libblock/libblock.c /trunk/uspace/lib/libblock/libblock.h
|
4550 |
5545 d 13 h |
jermar |
/trunk/uspace/lib/libblock/ |
Disk I/O should be serialized until libblock switches to fibril synchronization. |
|
/trunk/uspace/lib/libblock/libblock.c
|
4549 |
5546 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
|
4542 |
5547 d 12 h |
jermar |
/trunk/uspace/ |
Handle pending input using only one fibril.
Relax serialization in console, keep your fingers crossed.
Do not create a new "pending" fibril after each received call. |
|
/trunk/uspace/lib/libc/generic/async.c /trunk/uspace/lib/libc/include/async.h /trunk/uspace/srv/console/console.c
|
4541 |
5547 d 12 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
|
4535 |
5548 d 21 h |
jermar |
/trunk/uspace/lib/libc/ |
On condvar signal/broadcast, dequeue the waiting fibril from the waiters list.
Add FIBRIL_CONDVAR_INITIALIZE. |
|
/trunk/uspace/lib/libc/generic/fibril_sync.c /trunk/uspace/lib/libc/include/fibril_sync.h
|
4528 |
5550 d 14 h |
svoboda |
/trunk/uspace/ |
Use 'fibril_local' modifier for fibril-local variables instead of '__thread'. Since it is decalred in fibril.h, it need not begin with '__'. |
|
/trunk/uspace/lib/libc/arch/arm32/include/tls.h /trunk/uspace/lib/libc/generic/async.c /trunk/uspace/lib/libc/generic/fibril.c /trunk/uspace/lib/libc/include/fibril.h /trunk/uspace/srv/fb/fb.c /trunk/uspace/srv/vfs/vfs_file.c
|
4527 |
5550 d 16 h |
jermar |
/trunk/uspace/lib/libc/ |
Condition variables for fibrils. |
|
/trunk/uspace/lib/libc/generic/fibril_sync.c /trunk/uspace/lib/libc/include/fibril_sync.h
|
4526 |
5551 d 13 h |
jermar |
/trunk/uspace/lib/libc/ |
Implement readers-writer locks for fibrils. |
|
/trunk/uspace/lib/libc/generic/fibril_sync.c /trunk/uspace/lib/libc/include/fibril.h /trunk/uspace/lib/libc/include/fibril_sync.h
|
4523 |
5552 d 15 h |
decky |
/trunk/uspace/lib/libc/generic/io/ |
remove obsolete terminology |
|
/trunk/uspace/lib/libc/generic/io/vprintf.c
|