Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
2565 |
6164 d 15 h |
jermar |
/trunk/uspace/lib/libc/malloc/ |
Make uspace malloc() verbose when it aborts due to inconsistencies. |
|
/trunk/uspace/lib/libc/malloc/malloc.c
|
2479 |
6266 d 8 h |
jermar |
/trunk/ |
New, better-structured, directory layout for uspace. |
|
/trunk/uspace/app /trunk/uspace/app/init /trunk/uspace/app/klog /trunk/uspace/app/tester /trunk/uspace/app/tetris /trunk/uspace/lib /trunk/uspace/lib/libc /trunk/uspace/lib/softfloat /trunk/uspace/lib/softint /trunk/uspace/srv /trunk/uspace/srv/console /trunk/uspace/srv/fb /trunk/uspace/srv/fs /trunk/uspace/srv/kbd /trunk/uspace/srv/ns /trunk/uspace/srv/pci /trunk/uspace/srv/rd
/trunk/uspace/console /trunk/uspace/fb /trunk/uspace/fs /trunk/uspace/init /trunk/uspace/kbd /trunk/uspace/klog /trunk/uspace/libc /trunk/uspace/ns /trunk/uspace/pci /trunk/uspace/rd /trunk/uspace/softfloat /trunk/uspace/softint /trunk/uspace/tester /trunk/uspace/tetris
/trunk/boot/arch/amd64/Makefile.inc /trunk/boot/arch/arm32/loader/Makefile /trunk/boot/arch/ia32/Makefile.inc /trunk/boot/arch/ia32xen/Makefile.inc /trunk/boot/arch/mips32/loader/Makefile /trunk/boot/arch/ppc32/loader/Makefile /trunk/boot/arch/ppc64/loader/Makefile /trunk/boot/arch/sparc64/loader/Makefile /trunk/contrib/conf/ski.conf /trunk/uspace/Makefile /trunk/uspace/app/init/Makefile /trunk/uspace/app/klog/Makefile /trunk/uspace/app/tester/Makefile /trunk/uspace/app/tetris/Makefile /trunk/uspace/app/tetris/input.c /trunk/uspace/app/tetris/screen.c /trunk/uspace/lib/libc/Makefile /trunk/uspace/lib/libc/arch/amd64/_link.ld.in /trunk/uspace/lib/libc/arch/arm32/Makefile.inc /trunk/uspace/lib/libc/arch/arm32/_link.ld.in /trunk/uspace/lib/libc/arch/ia32/_link.ld.in /trunk/uspace/lib/libc/arch/ia64/Makefile.inc /trunk/uspace/lib/libc/arch/ia64/_link.ld.in /trunk/uspace/lib/libc/arch/mips32/Makefile.inc /trunk/uspace/lib/libc/arch/mips32/_link.ld.in /trunk/uspace/lib/libc/arch/ppc32/_link.ld.in /trunk/uspace/lib/libc/arch/ppc64/_link.ld.in /trunk/uspace/lib/libc/arch/sparc64/_link.ld.in /trunk/uspace/srv/console/Makefile /trunk/uspace/srv/fb/Makefile /trunk/uspace/srv/fs/Makefile /trunk/uspace/srv/kbd/Makefile /trunk/uspace/srv/ns/Makefile /trunk/uspace/srv/pci/Makefile /trunk/uspace/srv/pci/libpci/Makefile /trunk/uspace/srv/rd/Makefile
|
2082 |
6418 d 8 h |
decky |
/trunk/ |
__asm__ __volatile__ -> asm volatile |
|
/trunk/boot/arch/sparc64/loader/ofwarch.c /trunk/kernel/arch/amd64/include/asm.h /trunk/kernel/arch/amd64/include/atomic.h /trunk/kernel/arch/amd64/include/memstr.h /trunk/kernel/arch/amd64/src/cpu/cpu.c /trunk/kernel/arch/amd64/src/fpu_context.c /trunk/kernel/arch/amd64/src/userspace.c /trunk/kernel/arch/ia32/include/asm.h /trunk/kernel/arch/ia32/include/atomic.h /trunk/kernel/arch/ia32/include/barrier.h /trunk/kernel/arch/ia32/include/cpuid.h /trunk/kernel/arch/ia32/include/memstr.h /trunk/kernel/arch/ia32/src/cpu/cpu.c /trunk/kernel/arch/ia32/src/fpu_context.c /trunk/kernel/arch/ia32/src/pm.c /trunk/kernel/arch/ia32/src/userspace.c /trunk/kernel/arch/ia32xen/include/asm.h /trunk/kernel/arch/ia32xen/src/pm.c /trunk/kernel/arch/ia64/include/asm.h /trunk/kernel/arch/ia64/include/atomic.h /trunk/kernel/arch/ia64/include/barrier.h /trunk/kernel/arch/ia64/include/cpu.h /trunk/kernel/arch/ia64/include/mm/page.h /trunk/kernel/arch/ia64/src/ia64.c /trunk/kernel/arch/ia64/src/mm/tlb.c /trunk/kernel/arch/ia64/src/proc/scheduler.c /trunk/kernel/arch/ia64/src/ski/ski.c /trunk/kernel/arch/mips32/include/asm.h /trunk/kernel/arch/mips32/include/atomic.h /trunk/kernel/arch/mips32/include/barrier.h /trunk/kernel/arch/mips32/include/mm/tlb.h /trunk/kernel/arch/sparc64/include/asm.h /trunk/kernel/arch/sparc64/include/atomic.h /trunk/kernel/arch/sparc64/include/barrier.h /trunk/kernel/arch/sparc64/src/fpu_context.c /trunk/uspace/libc/arch/amd64/include/atomic.h /trunk/uspace/libc/arch/amd64/include/thread.h /trunk/uspace/libc/arch/ia32/include/atomic.h /trunk/uspace/libc/arch/ia32/include/thread.h /trunk/uspace/libc/arch/ia64/include/atomic.h /trunk/uspace/libc/arch/ia64/include/thread.h /trunk/uspace/libc/arch/mips32/include/atomic.h /trunk/uspace/libc/arch/mips32/include/thread.h /trunk/uspace/libc/arch/ppc32/include/atomic.h /trunk/uspace/libc/arch/ppc64/include/atomic.h /trunk/uspace/libc/arch/sparc64/include/atomic.h /trunk/uspace/libc/arch/sparc64/include/syscall.h /trunk/uspace/libc/arch/sparc64/include/thread.h /trunk/uspace/libc/malloc/malloc.c
|
1867 |
6558 d 1 h |
jermar |
/trunk/uspace/ |
Prototype for mmap() should be in mman.h.
Anyway, is there any common sense behind naming of mman.h and mman.c? |
|
/trunk/uspace/libc/generic/mman.c /trunk/uspace/libc/include/sys/mman.h
/trunk/uspace/libc/generic/mmap.c /trunk/uspace/libc/include/sys/mmap.h
/trunk/uspace/console/console.c /trunk/uspace/console/gcons.c /trunk/uspace/libc/Makefile /trunk/uspace/libc/malloc/malloc.c
|
1866 |
6558 d 1 h |
jermar |
/trunk/uspace/ |
Indentation and formatting facelift for libc.
Libc headers now have C99 compliant guards. |
|
/trunk/uspace/libc/include/sys/mmap.h
/trunk/uspace/libc/include/sys/mman.h
/trunk/uspace/console/console.c /trunk/uspace/console/gcons.c /trunk/uspace/libc/arch/amd64/include/atomic.h /trunk/uspace/libc/arch/amd64/include/endian.h /trunk/uspace/libc/arch/amd64/include/limits.h /trunk/uspace/libc/arch/amd64/include/psthread.h /trunk/uspace/libc/arch/amd64/include/stackarg.h /trunk/uspace/libc/arch/amd64/include/thread.h /trunk/uspace/libc/arch/amd64/include/types.h /trunk/uspace/libc/arch/amd64/src/thread.c /trunk/uspace/libc/arch/ia32/include/atomic.h /trunk/uspace/libc/arch/ia32/include/ddi.h /trunk/uspace/libc/arch/ia32/include/endian.h /trunk/uspace/libc/arch/ia32/include/limits.h /trunk/uspace/libc/arch/ia32/include/psthread.h /trunk/uspace/libc/arch/ia32/include/stackarg.h /trunk/uspace/libc/arch/ia32/include/thread.h /trunk/uspace/libc/arch/ia32/include/types.h /trunk/uspace/libc/arch/ia32/src/syscall.c /trunk/uspace/libc/arch/ia64/include/atomic.h /trunk/uspace/libc/arch/ia64/include/endian.h /trunk/uspace/libc/arch/ia64/include/limits.h /trunk/uspace/libc/arch/ia64/include/psthread.h /trunk/uspace/libc/arch/ia64/include/stack.h /trunk/uspace/libc/arch/ia64/include/stackarg.h /trunk/uspace/libc/arch/ia64/include/thread.h /trunk/uspace/libc/arch/ia64/src/thread.c /trunk/uspace/libc/arch/mips32/include/atomic.h /trunk/uspace/libc/arch/mips32/include/context_offset.h /trunk/uspace/libc/arch/mips32/include/endian.h /trunk/uspace/libc/arch/mips32/include/limits.h /trunk/uspace/libc/arch/mips32/include/psthread.h /trunk/uspace/libc/arch/mips32/include/stackarg.h /trunk/uspace/libc/arch/mips32/include/thread.h /trunk/uspace/libc/arch/mips32/src/thread.c /trunk/uspace/libc/arch/mips32eb/include/endian.h /trunk/uspace/libc/arch/ppc32/include/atomic.h /trunk/uspace/libc/arch/ppc32/include/context_offset.h /trunk/uspace/libc/arch/ppc32/include/endian.h /trunk/uspace/libc/arch/ppc32/include/limits.h /trunk/uspace/libc/arch/ppc32/include/psthread.h /trunk/uspace/libc/arch/ppc32/include/regname.h /trunk/uspace/libc/arch/ppc32/include/stackarg.h /trunk/uspace/libc/arch/ppc32/include/thread.h /trunk/uspace/libc/arch/ppc32/src/syscall.c /trunk/uspace/libc/arch/ppc32/src/thread.c /trunk/uspace/libc/arch/ppc64/include/atomic.h /trunk/uspace/libc/arch/ppc64/include/context_offset.h /trunk/uspace/libc/arch/ppc64/include/endian.h /trunk/uspace/libc/arch/ppc64/include/limits.h /trunk/uspace/libc/arch/ppc64/include/psthread.h /trunk/uspace/libc/arch/ppc64/include/regname.h /trunk/uspace/libc/arch/ppc64/include/stackarg.h /trunk/uspace/libc/arch/ppc64/include/thread.h /trunk/uspace/libc/arch/ppc64/src/syscall.c /trunk/uspace/libc/arch/ppc64/src/thread.c /trunk/uspace/libc/arch/sparc64/include/context_offset.h /trunk/uspace/libc/arch/sparc64/include/endian.h /trunk/uspace/libc/arch/sparc64/include/limits.h /trunk/uspace/libc/generic/async.c /trunk/uspace/libc/generic/cap.c /trunk/uspace/libc/generic/ddi.c /trunk/uspace/libc/generic/err.c /trunk/uspace/libc/generic/futex.c /trunk/uspace/libc/generic/io/io.c /trunk/uspace/libc/generic/io/printf.c /trunk/uspace/libc/generic/io/printf_core.c /trunk/uspace/libc/generic/io/snprintf.c /trunk/uspace/libc/generic/io/sprintf.c /trunk/uspace/libc/generic/io/stream.c /trunk/uspace/libc/generic/io/vprintf.c /trunk/uspace/libc/generic/io/vsnprintf.c /trunk/uspace/libc/generic/io/vsprintf.c /trunk/uspace/libc/generic/ipc.c /trunk/uspace/libc/generic/libadt/hash_table.c /trunk/uspace/libc/generic/libadt/list.c /trunk/uspace/libc/generic/mmap.c /trunk/uspace/libc/generic/psthread.c /trunk/uspace/libc/generic/stdlib.c /trunk/uspace/libc/generic/string.c /trunk/uspace/libc/generic/sysinfo.c /trunk/uspace/libc/generic/task.c /trunk/uspace/libc/generic/thread.c /trunk/uspace/libc/generic/time.c /trunk/uspace/libc/include/align.h /trunk/uspace/libc/include/as.h /trunk/uspace/libc/include/assert.h /trunk/uspace/libc/include/async.h /trunk/uspace/libc/include/atomic.h /trunk/uspace/libc/include/cap.h /trunk/uspace/libc/include/ctype.h /trunk/uspace/libc/include/ddi.h /trunk/uspace/libc/include/endian.h /trunk/uspace/libc/include/err.h /trunk/uspace/libc/include/errno.h /trunk/uspace/libc/include/futex.h /trunk/uspace/libc/include/io/io.h /trunk/uspace/libc/include/io/printf_core.h /trunk/uspace/libc/include/io/stream.h /trunk/uspace/libc/include/ipc/ipc.h /trunk/uspace/libc/include/ipc/ns.h /trunk/uspace/libc/include/ipc/services.h /trunk/uspace/libc/include/libadt/fifo.h /trunk/uspace/libc/include/libadt/hash_table.h /trunk/uspace/libc/include/libadt/list.h /trunk/uspace/libc/include/libc.h /trunk/uspace/libc/include/limits.h /trunk/uspace/libc/include/psthread.h /trunk/uspace/libc/include/stdarg.h /trunk/uspace/libc/include/stddef.h /trunk/uspace/libc/include/stdint.h /trunk/uspace/libc/include/stdio.h /trunk/uspace/libc/include/stdlib.h /trunk/uspace/libc/include/string.h /trunk/uspace/libc/include/sys/time.h /trunk/uspace/libc/include/sys/types.h /trunk/uspace/libc/include/sysinfo.h /trunk/uspace/libc/include/task.h /trunk/uspace/libc/include/thread.h /trunk/uspace/libc/include/time.h /trunk/uspace/libc/include/unistd.h /trunk/uspace/libc/malloc/malloc.c
|
1787 |
6613 d 3 h |
decky |
/ |
move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot |
|
/trunk /trunk/boot /trunk/kernel /trunk/uspace
/boot/trunk /kernel/trunk /uspace/trunk
|
1719 |
6638 d 0 h |
decky |
/uspace/trunk/ |
big code cleanup, compile with -Wall -Werror to enforce better coding
there is currently one warning that requires attention, please review |
|
/uspace/trunk/fb/sysio.c /uspace/trunk/libc/Makefile.toolchain /uspace/trunk/libc/generic/as.c /uspace/trunk/libc/generic/async.c /uspace/trunk/libc/generic/cap.c /uspace/trunk/libc/generic/ddi.c /uspace/trunk/libc/generic/err.c /uspace/trunk/libc/generic/io/stream.c /uspace/trunk/libc/generic/libc.c /uspace/trunk/libc/generic/mmap.c /uspace/trunk/libc/generic/psthread.c /uspace/trunk/libc/generic/string.c /uspace/trunk/libc/generic/time.c /uspace/trunk/libc/include/err.h /uspace/trunk/libc/include/libc.h /uspace/trunk/libc/malloc/malloc.c /uspace/trunk/ns/ns.c
|
1663 |
6646 d 11 h |
vana |
/uspace/trunk/libc/ |
Uspace synchronous fpu context managing |
|
/uspace/trunk/libc/arch/ia64/include/psthread.h /uspace/trunk/libc/arch/ia64/src/psthread.S /uspace/trunk/libc/malloc/malloc.c
|
1656 |
6647 d 0 h |
cejka |
/uspace/trunk/libc/ |
Another doxygen comments. |
|
/uspace/trunk/libc/arch/amd64/include/atomic.h /uspace/trunk/libc/arch/amd64/include/context_offset.h /uspace/trunk/libc/arch/amd64/include/endian.h /uspace/trunk/libc/arch/amd64/include/limits.h /uspace/trunk/libc/arch/amd64/include/psthread.h /uspace/trunk/libc/arch/amd64/include/stackarg.h /uspace/trunk/libc/arch/amd64/include/thread.h /uspace/trunk/libc/arch/amd64/include/types.h /uspace/trunk/libc/arch/amd64/src/thread.c /uspace/trunk/libc/arch/ia32/include/atomic.h /uspace/trunk/libc/arch/ia32/include/endian.h /uspace/trunk/libc/arch/ia32/include/limits.h /uspace/trunk/libc/arch/ia32/include/psthread.h /uspace/trunk/libc/arch/ia32/include/stackarg.h /uspace/trunk/libc/arch/ia32/include/thread.h /uspace/trunk/libc/arch/ia32/include/types.h /uspace/trunk/libc/arch/ia32/src/syscall.c /uspace/trunk/libc/arch/ia64/include/atomic.h /uspace/trunk/libc/arch/ia64/include/endian.h /uspace/trunk/libc/arch/ia64/include/limits.h /uspace/trunk/libc/arch/ia64/include/psthread.h /uspace/trunk/libc/arch/ia64/include/stack.h /uspace/trunk/libc/arch/ia64/include/stackarg.h /uspace/trunk/libc/arch/ia64/include/thread.h /uspace/trunk/libc/arch/ia64/include/types.h /uspace/trunk/libc/arch/ia64/src/thread.c /uspace/trunk/libc/arch/mips32/include/atomic.h /uspace/trunk/libc/arch/mips32/include/context_offset.h /uspace/trunk/libc/arch/mips32/include/endian.h /uspace/trunk/libc/arch/mips32/include/limits.h /uspace/trunk/libc/arch/mips32/include/psthread.h /uspace/trunk/libc/arch/mips32/include/stackarg.h /uspace/trunk/libc/arch/mips32/include/thread.h /uspace/trunk/libc/arch/mips32/include/types.h /uspace/trunk/libc/arch/mips32/src/syscall.c /uspace/trunk/libc/arch/mips32/src/thread.c /uspace/trunk/libc/arch/mips32eb/include/endian.h /uspace/trunk/libc/arch/ppc32/include/atomic.h /uspace/trunk/libc/arch/ppc32/include/context_offset.h /uspace/trunk/libc/arch/ppc32/include/endian.h /uspace/trunk/libc/arch/ppc32/include/limits.h /uspace/trunk/libc/arch/ppc32/include/psthread.h /uspace/trunk/libc/arch/ppc32/include/regname.h /uspace/trunk/libc/arch/ppc32/include/stackarg.h /uspace/trunk/libc/arch/ppc32/include/thread.h /uspace/trunk/libc/arch/ppc32/include/types.h /uspace/trunk/libc/arch/ppc32/src/syscall.c /uspace/trunk/libc/arch/ppc32/src/thread.c /uspace/trunk/libc/arch/ppc64/include/atomic.h /uspace/trunk/libc/arch/ppc64/include/context_offset.h /uspace/trunk/libc/arch/ppc64/include/endian.h /uspace/trunk/libc/arch/ppc64/include/limits.h /uspace/trunk/libc/arch/ppc64/include/psthread.h /uspace/trunk/libc/arch/ppc64/include/regname.h /uspace/trunk/libc/arch/ppc64/include/stackarg.h /uspace/trunk/libc/arch/ppc64/include/thread.h /uspace/trunk/libc/arch/ppc64/include/types.h /uspace/trunk/libc/arch/ppc64/src/syscall.c /uspace/trunk/libc/arch/ppc64/src/thread.c /uspace/trunk/libc/generic/libc.c /uspace/trunk/libc/malloc/malloc.c
|
1143 |
6714 d 6 h |
palkovsky |
/uspace/trunk/libc/ |
Added support for multithreading (using futexes) into malloc. |
|
/uspace/trunk/libc/include/futex.h /uspace/trunk/libc/malloc/malloc.c
|
1113 |
6723 d 11 h |
palkovsky |
/uspace/trunk/ |
Added symbolic links 'libarch','libadt','libipc' into libc/include,
so that it can be easily used from anywhere.
Renamed thread_main to __thread_main.
Allowed MIPS to compile with -O0.
Added non-preemptible threads support (not yet secured by futexes).
Added simple way to hold Thread Local Storage. Support for compiler
will be added later.
This update breaks IA64 uspace.
There is some forgotten spinlock_lock() in futexes, amd64 gets locked
in the secod uspace thread probably with preemption disabled. |
|
/uspace/trunk/libc/arch/amd64/include/atomic.h /uspace/trunk/libc/arch/amd64/include/context_offset.h /uspace/trunk/libc/arch/amd64/include/psthread.h /uspace/trunk/libc/arch/amd64/include/thread.h /uspace/trunk/libc/arch/amd64/src/psthread.S /uspace/trunk/libc/arch/ia32/include/atomic.h /uspace/trunk/libc/arch/ia64/include/atomic.h /uspace/trunk/libc/arch/mips32/include/atomic.h /uspace/trunk/libc/arch/mips32/include/context_offset.h /uspace/trunk/libc/arch/mips32/include/psthread.h /uspace/trunk/libc/arch/mips32/include/thread.h /uspace/trunk/libc/arch/mips32/src/psthread.S /uspace/trunk/libc/generic/psthread.c /uspace/trunk/libc/include/psthread.h /uspace/trunk/libc/include/types.h
/uspace/trunk/libc/arch/amd64/include/atomic_arch.h /uspace/trunk/libc/arch/ia32/include/atomic_arch.h /uspace/trunk/libc/arch/ia64/include/atomic_arch.h /uspace/trunk/libc/arch/mips32/include/atomic_arch.h
/uspace/trunk/Makefile /uspace/trunk/init/init.c /uspace/trunk/libc/Makefile /uspace/trunk/libc/Makefile.toolchain /uspace/trunk/libc/arch/amd64/Makefile.inc /uspace/trunk/libc/arch/amd64/src/entry.s /uspace/trunk/libc/arch/amd64/src/thread_entry.s /uspace/trunk/libc/arch/ia32/Makefile.inc /uspace/trunk/libc/arch/ia32/src/entry.s /uspace/trunk/libc/arch/ia32/src/thread_entry.s /uspace/trunk/libc/arch/ia64/src/entry.s /uspace/trunk/libc/arch/ia64/src/thread_entry.s /uspace/trunk/libc/arch/mips32/Makefile.inc /uspace/trunk/libc/arch/mips32/src/entry.s /uspace/trunk/libc/arch/mips32/src/thread_entry.s /uspace/trunk/libc/generic/libc.c /uspace/trunk/libc/generic/thread.c /uspace/trunk/libc/include/atomic.h /uspace/trunk/libc/include/io/io.h /uspace/trunk/libc/include/libc.h /uspace/trunk/libc/include/stdarg.h /uspace/trunk/libc/include/stdint.h /uspace/trunk/libc/include/thread.h /uspace/trunk/libc/include/unistd.h /uspace/trunk/libc/malloc/malloc.c
|
999 |
6731 d 21 h |
palkovsky |
/uspace/trunk/ |
Completed asynchronous IPC.
Fixed sbrk.
Cleared some unnecessary defines in malloc.
Changed __u8 * to char * in list. |
|
/uspace/trunk/libc/generic/string.c
/uspace/trunk/init/Makefile /uspace/trunk/init/init.c /uspace/trunk/libadt/include/list.h /uspace/trunk/libc/Makefile /uspace/trunk/libc/generic/mmap.c /uspace/trunk/libc/include/string.h /uspace/trunk/libc/malloc/malloc.c /uspace/trunk/libipc/Makefile /uspace/trunk/libipc/generic/ipc.c /uspace/trunk/libipc/include/ipc.h
|
985 |
6732 d 5 h |
palkovsky |
/uspace/trunk/libc/ |
Added malloc implementation. |
|
/uspace/trunk/libc/include/errno.h /uspace/trunk/libc/include/stdlib.h /uspace/trunk/libc/include/string.h /uspace/trunk/libc/include/sys /uspace/trunk/libc/include/sys/types.h
/uspace/trunk/libc/Makefile /uspace/trunk/libc/arch/amd64/_link.ld.in /uspace/trunk/libc/arch/ia32/_link.ld.in /uspace/trunk/libc/arch/ia64/_link.ld.in /uspace/trunk/libc/arch/mips32/_link.ld.in /uspace/trunk/libc/generic/mmap.c /uspace/trunk/libc/include/malloc.h /uspace/trunk/libc/include/stdio.h /uspace/trunk/libc/include/unistd.h /uspace/trunk/libc/malloc/malloc.c
|
968 |
6732 d 10 h |
palkovsky |
/uspace/trunk/libc/ |
Added public domain malloc
Allowed including arch/mm/page.h to have getpagesize(). |
|
/uspace/trunk/libc/include/malloc.h /uspace/trunk/libc/malloc /uspace/trunk/libc/malloc/malloc.c
/uspace/trunk/libc/Makefile /uspace/trunk/libc/include/libc.h
|