Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
1250 |
6688 d 18 h |
jermar |
/uspace/trunk/ |
Add as.h to libc and compile pci module only for amd64 and ia32. |
|
/uspace/trunk/libc/include/as.h
/uspace/trunk/Makefile /uspace/trunk/init/init.c /uspace/trunk/libc/generic/as.c /uspace/trunk/libc/include/unistd.h
|
1240 |
6690 d 10 h |
jermar |
/uspace/trunk/libc/generic/ |
Replace __native with sysarg_t so that uspace compiles again. |
|
/uspace/trunk/libc/generic/as.c
|
1237 |
6690 d 15 h |
jermar |
/uspace/trunk/libc/ |
Add userspace support for SYS_AS_AREA_ACCEPT and SYS_AS_AREA_SEND syscalls. |
|
/uspace/trunk/libc/generic/as.c
/uspace/trunk/libc/generic/mmap.c
/uspace/trunk/libc/Makefile /uspace/trunk/libc/include/unistd.h
|
1234 |
6692 d 10 h |
cejka |
/uspace/trunk/libc/ |
Another version of printf function, now with support for sprintf, snprintf and v*printf functions. |
|
/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/vprintf.c /uspace/trunk/libc/generic/io/vsnprintf.c /uspace/trunk/libc/generic/io/vsprintf.c /uspace/trunk/libc/include/io/printf_core.h
/uspace/trunk/libc/generic/io/print.c
/uspace/trunk/libc/Makefile /uspace/trunk/libc/include/io/io.h /uspace/trunk/libc/include/stdio.h
|
1228 |
6693 d 15 h |
jermar |
/uspace/trunk/ |
Reflect changes in syscall names in userspace. |
|
/uspace/trunk/init/init.c /uspace/trunk/libc/generic/mmap.c /uspace/trunk/libc/generic/task.c /uspace/trunk/libc/include/task.h /uspace/trunk/libc/include/unistd.h
|
1225 |
6693 d 16 h |
cejka |
/uspace/trunk/libc/generic/io/ |
Printf precision is counted without prefixes now. |
|
/uspace/trunk/libc/generic/io/print.c
|
1213 |
6694 d 13 h |
palkovsky |
/uspace/trunk/libc/ |
Added uspace call to enable/disable interrupts. |
|
/uspace/trunk/libc/generic/ddi.c /uspace/trunk/libc/include/ddi.h
|
1199 |
6699 d 17 h |
cejka |
/uspace/trunk/libc/generic/io/ |
Update comments in printf. |
|
/uspace/trunk/libc/generic/io/print.c
|
1197 |
6700 d 18 h |
cejka |
/uspace/trunk/ |
Bugfix in printf, some support for testing. |
|
/uspace/trunk/init/init.c /uspace/trunk/libc/generic/io/print.c /uspace/trunk/libc/generic/string.c
|
1192 |
6702 d 22 h |
jermar |
/uspace/trunk/libc/ |
Userspace support for SYS_ENABLE_IOSPACE syscall. |
|
/uspace/trunk/libc/generic/ddi.c /uspace/trunk/libc/include/ddi.h
|
1180 |
6703 d 23 h |
jermar |
/uspace/trunk/libc/ |
Userspace support for SYS_MAP_PHYSMEM syscall. |
|
/uspace/trunk/libc/generic/ddi.c /uspace/trunk/libc/include/ddi.h
/uspace/trunk/libc/Makefile
|
1175 |
6704 d 19 h |
jermar |
/uspace/trunk/ |
Userspace suport for SYS_GET_TASK_ID syscall. |
|
/uspace/trunk/libc/generic/task.c /uspace/trunk/libc/include/task.h
/uspace/trunk/init/init.c /uspace/trunk/libc/Makefile /uspace/trunk/libc/arch/ia64/include/psthread.h
|
1173 |
6704 d 21 h |
cejka |
/uspace/trunk/libc/ |
Printf support for width and precision modifiers.
Several necessary helping functions added. |
|
/uspace/trunk/libc/include/ctype.h
/uspace/trunk/libc/generic/io/io.c /uspace/trunk/libc/generic/io/print.c /uspace/trunk/libc/generic/string.c /uspace/trunk/libc/include/io/io.h /uspace/trunk/libc/include/string.h
|
1167 |
6707 d 12 h |
vana |
/uspace/trunk/libc/ |
Thread RSE support completion (uspace) |
|
/uspace/trunk/libc/arch/ia64/include/thread.h /uspace/trunk/libc/generic/thread.c
|
1155 |
6707 d 19 h |
vana |
/uspace/trunk/libc/ |
psthread RSE support |
|
/uspace/trunk/libc/arch/ia64/include/psthread.h /uspace/trunk/libc/generic/psthread.c
|
1152 |
6711 d 19 h |
jermar |
/uspace/trunk/ |
Sync uspace.
Fix comment in futex.c. |
|
/uspace/trunk/init/init.c /uspace/trunk/libc/generic/futex.c
|
1129 |
6723 d 17 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 |
6723 d 17 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 |
6723 d 20 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
|
1116 |
6724 d 10 h |
jermar |
/uspace/trunk/libc/ |
Improved futexes for uspace.
Please review. |
|
/uspace/trunk/libc/generic/futex.c /uspace/trunk/libc/include/futex.h
|
1114 |
6724 d 20 h |
jermar |
/uspace/trunk/libc/generic/ |
Fix futexes to correctly wake sleeping threads. |
|
/uspace/trunk/libc/generic/futex.c
|
1113 |
6724 d 21 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
|
1111 |
6725 d 9 h |
jermar |
/uspace/trunk/ |
Basic futex support for userspace. |
|
/uspace/trunk/libc/generic/futex.c /uspace/trunk/libc/include/futex.h
/uspace/trunk/init/init.c /uspace/trunk/libc/Makefile
|
1081 |
6730 d 11 h |
jermar |
/uspace/trunk/ |
Fix uspace threads for ia64. |
|
/uspace/trunk/init/init.c /uspace/trunk/libc/generic/thread.c
|
1079 |
6730 d 13 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
|
1073 |
6730 d 19 h |
cejka |
/uspace/trunk/ |
Userspace printf was rewritten to support standard format. Not all needed features implemented yet. |
|
/uspace/trunk/init/Makefile /uspace/trunk/init/init.c /uspace/trunk/libc/Makefile /uspace/trunk/libc/Makefile.toolchain /uspace/trunk/libc/generic/io/print.c /uspace/trunk/ns/Makefile /uspace/trunk/ns/ns.c
|
1065 |
6731 d 6 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
|
1033 |
6732 d 7 h |
jermar |
/uspace/trunk/libc/ |
mmap() syscall. |
|
/uspace/trunk/libc/generic/mmap.c /uspace/trunk/libc/include/unistd.h
|
1010 |
6732 d 19 h |
cejka |
/uspace/trunk/libc/ |
Fixed problem with stackarg/stdarg for 64-bit platforms. |
|
/uspace/trunk/libc/arch/amd64/include/stackarg.h /uspace/trunk/libc/arch/ia32/include/stackarg.h /uspace/trunk/libc/arch/ia64/include/stackarg.h /uspace/trunk/libc/arch/mips32/include/stackarg.h
/uspace/trunk/libc/generic/io/io.c /uspace/trunk/libc/generic/io/print.c /uspace/trunk/libc/include/stdarg.h
|
999 |
6733 d 7 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
|
995 |
6733 d 10 h |
cejka |
/uspace/trunk/ |
Fixed bug in printf (__native from kernel must be unsigned long).
Putting prefixes in printf optimized.
Test function created in init.c. |
|
/uspace/trunk/init/init.c /uspace/trunk/libc/generic/io/print.c
|
992 |
6733 d 11 h |
jermar |
/uspace/trunk/libc/ |
Add -N to ia64 libc/Makefile. |
|
/uspace/trunk/libc/arch/ia64/Makefile.inc /uspace/trunk/libc/generic/io/print.c
|
985 |
6733 d 15 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
|
978 |
6733 d 17 h |
jermar |
/uspace/trunk/libc/ |
Add mremap() syscall. |
|
/uspace/trunk/libc/generic/mmap.c
/uspace/trunk/libc/Makefile /uspace/trunk/libc/include/unistd.h
|
975 |
6733 d 19 h |
cejka |
/uspace/trunk/libc/generic/io/ |
Uspace printf bug repaired. |
|
/uspace/trunk/libc/generic/io/print.c
|
974 |
6733 d 19 h |
cejka |
/uspace/trunk/libc/ |
Userspace printf, stdarg, and some other printf support. |
|
/uspace/trunk/libc/generic/io /uspace/trunk/libc/generic/io/io.c /uspace/trunk/libc/generic/io/print.c /uspace/trunk/libc/include/io /uspace/trunk/libc/include/io/io.h /uspace/trunk/libc/include/stdarg.h /uspace/trunk/libc/include/stddef.h
/uspace/trunk/libc/generic/io.c
/uspace/trunk/libc/Makefile /uspace/trunk/libc/arch/ia32/include/types.h /uspace/trunk/libc/include/stdio.h
|
954 |
6734 d 12 h |
palkovsky |
/uspace/trunk/ |
Added very basic IPC userspace stuff. |
|
/uspace/trunk/libipc /uspace/trunk/libipc/Makefile /uspace/trunk/libipc/generic /uspace/trunk/libipc/generic/ipc.c /uspace/trunk/libipc/include /uspace/trunk/libipc/include/ipc.h
/uspace/trunk/Makefile /uspace/trunk/init/Makefile /uspace/trunk/init/init.c /uspace/trunk/libc/Makefile /uspace/trunk/libc/arch/mips32/src/syscall.c /uspace/trunk/libc/generic/io.c /uspace/trunk/libc/include/libc.h /uspace/trunk/uspace.config
|
713 |
6791 d 14 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
|
505 |
6845 d 14 h |
decky |
/uspace/trunk/libc/ |
forgotten stuff |
|
/uspace/trunk/libc/include/unistd.h
/uspace/trunk/libc/arch/ia32/src/syscall.c /uspace/trunk/libc/arch/mips32el/src/syscall.c /uspace/trunk/libc/generic/io.c /uspace/trunk/libc/include/libc.h
|
504 |
6845 d 14 h |
decky |
/uspace/trunk/ |
uspace work |
|
/uspace/trunk/libc/arch/ia32/include /uspace/trunk/libc/arch/ia32/include/types.h /uspace/trunk/libc/arch/ia32/src /uspace/trunk/libc/arch/ia32/src/entry.s /uspace/trunk/libc/arch/ia32/src/syscall.c /uspace/trunk/libc/arch/mips32/include /uspace/trunk/libc/arch/mips32/src /uspace/trunk/libc/arch/mips32el/include /uspace/trunk/libc/arch/mips32el/include/types.h /uspace/trunk/libc/arch/mips32el/src /uspace/trunk/libc/arch/mips32el/src/entry.s /uspace/trunk/libc/arch/mips32el/src/syscall.c /uspace/trunk/libc/generic/io.c /uspace/trunk/libc/include/stdio.h
/uspace/trunk/libc/arch/ia32/entry.s /uspace/trunk/libc/arch/ia32/syscall.c /uspace/trunk/libc/arch/mips32/entry.s /uspace/trunk/libc/arch/mips32/syscall.c /uspace/trunk/libc/arch/mips32el/entry.s /uspace/trunk/libc/arch/mips32el/syscall.c /uspace/trunk/libc/include/unistd.h
/uspace/trunk/init/init.c /uspace/trunk/libc/Makefile /uspace/trunk/libc/Makefile.toolchain /uspace/trunk/libc/_link.ld.in /uspace/trunk/libc/include/libc.h
|