Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
1866 |
6558 d 8 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 10 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
|
1653 |
6647 d 9 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
|
1610 |
6648 d 13 h |
palkovsky |
/uspace/trunk/ |
Revised ipc. Now it is preferrable to use only functions from async.h, they
take care of correct buffering, waiting for answers etc. |
|
/uspace/trunk/fb/helenos.xbm
/uspace/trunk/console/console.c /uspace/trunk/console/gcons.c /uspace/trunk/fb/fb.c /uspace/trunk/kbd/generic/kbd.c /uspace/trunk/klog/klog.c /uspace/trunk/libc/generic/async.c /uspace/trunk/libc/generic/io/stream.c /uspace/trunk/libc/generic/ipc.c /uspace/trunk/libc/generic/psthread.c /uspace/trunk/libc/include/async.h /uspace/trunk/libc/include/ipc/ipc.h /uspace/trunk/libc/include/psthread.h /uspace/trunk/tetris/screen.c
|
1427 |
6658 d 6 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
|
1392 |
6664 d 9 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
|
1129 |
6722 d 14 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
|
1128 |
6722 d 14 h |
jermar |
/uspace/trunk/ |
Improve comments in psthread.c
Rename pt->list to pt->link.
Rename ps_preempt() to psthread_schedule_next().
Rename ps_join() to psthread_join(). |
|
/uspace/trunk/init/init.c /uspace/trunk/libc/generic/psthread.c /uspace/trunk/libc/include/psthread.h
|
1125 |
6722 d 17 h |
jermar |
/uspace/trunk/ |
TLS and pseudo thread support for ia64. |
|
/uspace/trunk/libc/arch/ia64/include/psthread.h /uspace/trunk/libc/arch/ia64/include/stack.h /uspace/trunk/libc/arch/ia64/include/thread.h /uspace/trunk/libc/arch/ia64/src/psthread.S /uspace/trunk/libc/include/align.h
/uspace/trunk/init/init.c /uspace/trunk/libc/arch/amd64/Makefile.inc /uspace/trunk/libc/arch/ia32/Makefile.inc /uspace/trunk/libc/arch/ia64/Makefile.inc /uspace/trunk/libc/generic/psthread.c /uspace/trunk/libc/include/psthread.h /uspace/trunk/libc/include/stdarg.h /uspace/trunk/libc/include/stdlib.h
|
1113 |
6723 d 18 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
|