Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
2061 |
6443 d 5 h |
jermar |
/trunk/ |
Improve comments and fix formatting in (sparc64) TLS implementation.
Improve some comments and formatting in sparc64 uspace thread library
code.
Update required msim version. |
|
/trunk/kernel/doc/arch/mips32 /trunk/uspace/libc/arch/sparc64/include/thread.h /trunk/uspace/libc/arch/sparc64/src/psthread.S /trunk/uspace/libc/arch/sparc64/src/thread.c /trunk/uspace/libc/generic/thread.c
|
1866 |
6559 d 22 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 |
6615 d 0 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
|
1781 |
6622 d 1 h |
jermar |
/uspace/trunk/ |
Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.). |
|
/uspace/trunk/libc/arch/amd64/include/config.h /uspace/trunk/libc/arch/amd64/include/faddr.h /uspace/trunk/libc/arch/ia32/include/config.h /uspace/trunk/libc/arch/ia32/include/faddr.h /uspace/trunk/libc/arch/ia64/include/config.h /uspace/trunk/libc/arch/ia64/include/faddr.h /uspace/trunk/libc/arch/mips32/include/config.h /uspace/trunk/libc/arch/mips32/include/faddr.h /uspace/trunk/libc/arch/ppc32/include/config.h /uspace/trunk/libc/arch/ppc32/include/faddr.h /uspace/trunk/libc/arch/ppc64/include/config.h /uspace/trunk/libc/arch/ppc64/include/faddr.h
/uspace/trunk/fb/fb.c /uspace/trunk/libc/arch/amd64/include/context_offset.h /uspace/trunk/libc/arch/amd64/include/limits.h /uspace/trunk/libc/arch/amd64/include/types.h /uspace/trunk/libc/arch/ia32/include/types.h /uspace/trunk/libc/arch/ia64/include/psthread.h /uspace/trunk/libc/arch/ia64/include/types.h /uspace/trunk/libc/arch/mips32/include/types.h /uspace/trunk/libc/arch/ppc32/include/types.h /uspace/trunk/libc/arch/ppc64/include/types.h /uspace/trunk/libc/generic/psthread.c /uspace/trunk/libc/generic/thread.c /uspace/trunk/libc/include/ipc/fb.h /uspace/trunk/libc/include/types.h /uspace/trunk/libc/include/unistd.h
|
1709 |
6640 d 6 h |
jermar |
/uspace/trunk/ |
Fix some broken doxygen comments. |
|
/uspace/trunk/fb/fb.c /uspace/trunk/fb/ppm.c /uspace/trunk/libc/generic/ipc.c /uspace/trunk/libc/generic/libadt/hash_table.c /uspace/trunk/libc/generic/psthread.c /uspace/trunk/libc/generic/thread.c
|
1653 |
6648 d 23 h |
cejka |
/uspace/trunk/ |
Doxygen comments. |
|
/uspace/trunk/init/init.c /uspace/trunk/init/init.h /uspace/trunk/init/version.c /uspace/trunk/init/version.h /uspace/trunk/ipcc/ipcc.c /uspace/trunk/klog/klog.c /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/futex.c /uspace/trunk/libc/generic/io/io.c /uspace/trunk/libc/generic/io/printf.c /uspace/trunk/libc/generic/io/printf_core.c /uspace/trunk/libc/generic/io/snprintf.c /uspace/trunk/libc/generic/io/sprintf.c /uspace/trunk/libc/generic/io/stream.c /uspace/trunk/libc/generic/io/vprintf.c /uspace/trunk/libc/generic/io/vsnprintf.c /uspace/trunk/libc/generic/io/vsprintf.c /uspace/trunk/libc/generic/ipc.c /uspace/trunk/libc/generic/libadt/hash_table.c /uspace/trunk/libc/generic/libadt/list.c /uspace/trunk/libc/generic/libc.c /uspace/trunk/libc/generic/mmap.c /uspace/trunk/libc/generic/psthread.c /uspace/trunk/libc/generic/stdlib.c /uspace/trunk/libc/generic/string.c /uspace/trunk/libc/generic/sysinfo.c /uspace/trunk/libc/generic/task.c /uspace/trunk/libc/generic/thread.c /uspace/trunk/libc/generic/time.c /uspace/trunk/libc/include/align.h /uspace/trunk/libc/include/as.h /uspace/trunk/libc/include/assert.h /uspace/trunk/libc/include/async.h /uspace/trunk/libc/include/atomic.h /uspace/trunk/libc/include/cap.h /uspace/trunk/libc/include/ctype.h /uspace/trunk/libc/include/ddi.h /uspace/trunk/libc/include/endian.h /uspace/trunk/libc/include/err.h /uspace/trunk/libc/include/errno.h /uspace/trunk/libc/include/futex.h /uspace/trunk/libc/include/io/io.h /uspace/trunk/libc/include/io/printf_core.h /uspace/trunk/libc/include/io/stream.h /uspace/trunk/libc/include/ipc/fb.h /uspace/trunk/libc/include/ipc/ipc.h /uspace/trunk/libc/include/ipc/ns.h /uspace/trunk/libc/include/ipc/services.h /uspace/trunk/libc/include/libadt/fifo.h /uspace/trunk/libc/include/libadt/hash_table.h /uspace/trunk/libc/include/libadt/list.h /uspace/trunk/libc/include/libc.h /uspace/trunk/libc/include/limits.h /uspace/trunk/libc/include/malloc.h /uspace/trunk/libc/include/psthread.h /uspace/trunk/libc/include/stdarg.h /uspace/trunk/libc/include/stddef.h /uspace/trunk/libc/include/stdint.h /uspace/trunk/libc/include/stdio.h /uspace/trunk/libc/include/stdlib.h /uspace/trunk/libc/include/string.h /uspace/trunk/libc/include/sys/mman.h /uspace/trunk/libc/include/sys/time.h /uspace/trunk/libc/include/sys/types.h /uspace/trunk/libc/include/sysinfo.h /uspace/trunk/libc/include/task.h /uspace/trunk/libc/include/thread.h /uspace/trunk/libc/include/time.h /uspace/trunk/libc/include/types.h /uspace/trunk/libc/include/unistd.h /uspace/trunk/softfloat/generic/common.c /uspace/trunk/softint/generic/division.c /uspace/trunk/softint/include/division.h /uspace/trunk/tetris/input.c /uspace/trunk/tetris/input.h /uspace/trunk/tetris/pathnames.h /uspace/trunk/tetris/scores.c /uspace/trunk/tetris/scores.h /uspace/trunk/tetris/screen.c /uspace/trunk/tetris/screen.h /uspace/trunk/tetris/shapes.c /uspace/trunk/tetris/tetris.c /uspace/trunk/tetris/tetris.h
|
1614 |
6650 d 2 h |
palkovsky |
/uspace/trunk/libc/generic/ |
Fixed bad TLS BSS initialization. |
|
/uspace/trunk/libc/generic/async.c /uspace/trunk/libc/generic/psthread.c /uspace/trunk/libc/generic/thread.c
|
1427 |
6659 d 20 h |
palkovsky |
/uspace/trunk/ |
Added functions to async framework for reasonable sending asynchronous
messages. |
|
/uspace/trunk/init/init.c /uspace/trunk/libc/generic/async.c /uspace/trunk/libc/generic/psthread.c /uspace/trunk/libc/generic/thread.c /uspace/trunk/libc/include/async.h /uspace/trunk/libc/include/psthread.h /uspace/trunk/libc/include/thread.h
|
1407 |
6664 d 8 h |
palkovsky |
/uspace/trunk/libc/ |
Small updates to asynchronous framework. |
|
/uspace/trunk/libc/generic/async.c /uspace/trunk/libc/generic/psthread.c /uspace/trunk/libc/generic/thread.c /uspace/trunk/libc/include/async.h
|
1392 |
6665 d 23 h |
palkovsky |
/uspace/trunk/ |
Merged libadt into libc.
Made lot of psthread and thread stuff thread-safe.
Added new driver framework for easy C connection programming.
Changed FB code to use new API. |
|
/uspace/trunk/libc/generic/libadt /uspace/trunk/libc/include/libadt
/uspace/trunk/libadt
/uspace/trunk/Makefile /uspace/trunk/fb/fb.c /uspace/trunk/kbd/generic/kbd.c /uspace/trunk/kbd/generic/key_buffer.c /uspace/trunk/libc/Makefile /uspace/trunk/libc/generic/async.c /uspace/trunk/libc/generic/ipc.c /uspace/trunk/libc/generic/libadt/hash_table.c /uspace/trunk/libc/generic/libadt/list.c /uspace/trunk/libc/generic/libc.c /uspace/trunk/libc/generic/psthread.c /uspace/trunk/libc/generic/thread.c /uspace/trunk/libc/include/ipc/ipc.h /uspace/trunk/libc/include/psthread.h /uspace/trunk/ns/Makefile
|
1167 |
6707 d 23 h |
vana |
/uspace/trunk/libc/ |
Thread RSE support completion (uspace) |
|
/uspace/trunk/libc/arch/ia64/include/thread.h /uspace/trunk/libc/generic/thread.c
|
1129 |
6724 d 4 h |
palkovsky |
/uspace/trunk/ |
Completed support for TLS in GCC (modifier __thread) for ia32,amd64,ia64 and mips. |
|
/uspace/trunk/libc/arch/amd64/src/thread.c /uspace/trunk/libc/arch/ia32/src/thread.c /uspace/trunk/libc/arch/ia64/src/thread.c /uspace/trunk/libc/arch/mips32/src/thread.c
/uspace/trunk/init/init.c /uspace/trunk/libc/arch/amd64/Makefile.inc /uspace/trunk/libc/arch/amd64/_link.ld.in /uspace/trunk/libc/arch/amd64/include/thread.h /uspace/trunk/libc/arch/ia32/Makefile.inc /uspace/trunk/libc/arch/ia32/_link.ld.in /uspace/trunk/libc/arch/ia32/include/thread.h /uspace/trunk/libc/arch/ia64/Makefile.inc /uspace/trunk/libc/arch/ia64/_link.ld.in /uspace/trunk/libc/arch/ia64/include/thread.h /uspace/trunk/libc/arch/mips32/Makefile.inc /uspace/trunk/libc/arch/mips32/_link.ld.in /uspace/trunk/libc/arch/mips32/include/psthread.h /uspace/trunk/libc/arch/mips32/include/thread.h /uspace/trunk/libc/generic/libc.c /uspace/trunk/libc/generic/psthread.c /uspace/trunk/libc/generic/thread.c /uspace/trunk/libc/include/psthread.h /uspace/trunk/libc/include/thread.h
|
1113 |
6725 d 8 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
|
1081 |
6730 d 23 h |
jermar |
/uspace/trunk/ |
Fix uspace threads for ia64. |
|
/uspace/trunk/init/init.c /uspace/trunk/libc/generic/thread.c
|
1079 |
6731 d 0 h |
jermar |
/uspace/trunk/ |
Improved uspace threads (uspace). |
|
/uspace/trunk/libc/arch/amd64/src/thread_entry.s /uspace/trunk/libc/arch/ia32/src/thread_entry.s /uspace/trunk/libc/arch/ia64/src/thread_entry.s /uspace/trunk/libc/arch/mips32/src/thread_entry.s
/uspace/trunk/init/init.c /uspace/trunk/libc/Makefile /uspace/trunk/libc/arch/ia64/src/entry.s /uspace/trunk/libc/generic/thread.c /uspace/trunk/libc/include/thread.h
|
1065 |
6731 d 17 h |
jermar |
/uspace/trunk/ |
Support for uspace threads. |
|
/uspace/trunk/libc/generic/thread.c /uspace/trunk/libc/include/thread.h
/uspace/trunk/init/init.c /uspace/trunk/libc/Makefile /uspace/trunk/libc/generic/libc.c
|
713 |
6792 d 1 h |
decky |
/uspace/trunk/ |
some fancy stuff |
|
/uspace/trunk/init/init.h /uspace/trunk/init/version.c /uspace/trunk/init/version.h
/uspace/trunk/init/Makefile /uspace/trunk/init/init.c /uspace/trunk/libc/generic/io.c /uspace/trunk/libc/generic/libc.c /uspace/trunk/libc/include/libc.h /uspace/trunk/libc/include/unistd.h
|
491 |
6852 d 4 h |
decky |
/uspace/trunk/ |
initial uspace build system |
|
/uspace/trunk/libc/arch /uspace/trunk/libc/arch/ia32 /uspace/trunk/libc/arch/ia32/Makefile.inc /uspace/trunk/libc/arch/ia32/entry.s /uspace/trunk/libc/generic /uspace/trunk/libc/generic/libc.c /uspace/trunk/libc/generic/libc.h /uspace/trunk/libc/include /uspace/trunk/libc/include/unistd.h
/uspace/trunk/Makefile /uspace/trunk/libc/entry.s /uspace/trunk/libc/libc.c /uspace/trunk/libc/libc.h /uspace/trunk/libc/unistd.h
/uspace/trunk/libc/Makefile
|
447 |
6861 d 1 h |
decky |
/uspace/ |
Initial import of user-space stuff |
|
/uspace /uspace/trunk /uspace/trunk/Makefile /uspace/trunk/_link.ld /uspace/trunk/init.c /uspace/trunk/libc /uspace/trunk/libc/Makefile /uspace/trunk/libc/entry.s /uspace/trunk/libc/libc.c /uspace/trunk/libc/libc.h /uspace/trunk/libc/unistd.h
|