HelenOS
HelenOS-doc
HelenOS-historic
Català-Valencià – Catalan
中文 – Chinese (Simplified)
中文 – Chinese (Traditional)
Česky – Czech
Dansk – Danish
Nederlands – Dutch
English – English
Suomi – Finnish
Français – French
Deutsch – German
עברית – Hebrew
हिंदी – Hindi
Magyar – Hungarian
Bahasa Indonesia – Indonesian
Italiano – Italian
日本語 – Japanese
한국어 – Korean
Македонски – Macedonian
मराठी – Marathi
Norsk – Norwegian
Polski – Polish
Português – Portuguese
Português – Portuguese (Brazil)
Русский – Russian
Slovenčina – Slovak
Slovenščina – Slovenian
Español – Spanish
Svenska – Swedish
Türkçe – Turkish
Українська – Ukrainian
Oëzbekcha – Uzbek
Subversion Repositories
HelenOS
(root)
/
branches
/
rcu
/
uspace
/
libc
/
malloc
/
malloc.c
– Rev 2131
Rev
Hide changed files
|
Details
|
Compare with Previous
|
Blame
|
RSS feed
Filtering Options
From rev
To rev
Max revs
Search history for
Show All
Rev
Age
Author
Path
Log message
Diff
Changes
2131
6380 d 13 h
decky
/branches/
add development branches
/branches
/branches/arm
/branches/fs
/branches/rcu
2082
6441 d 16 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
6581 d 9 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
6581 d 9 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
6636 d 11 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
6661 d 9 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
6669 d 20 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
6670 d 9 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
6737 d 14 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
6746 d 19 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
6755 d 6 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
6755 d 13 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
6755 d 19 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