Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
1866 |
6556 d 6 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
|
1863 |
6559 d 5 h |
jermar |
/trunk/ |
Allow architectures to decide between inlined and not inlined version of syscall wrapper.
Implement inlined syscall wrapper for sparc64. |
|
/trunk/uspace/libc/arch/amd64/include/syscall.h /trunk/uspace/libc/arch/ia32/include/syscall.h /trunk/uspace/libc/arch/ia64/include/syscall.h /trunk/uspace/libc/arch/mips32/include/syscall.h /trunk/uspace/libc/arch/mips32eb/include/syscall.h /trunk/uspace/libc/arch/ppc32/include/syscall.h /trunk/uspace/libc/arch/ppc64/include/syscall.h /trunk/uspace/libc/arch/sparc64/include/syscall.h /trunk/uspace/libc/include/syscall.h
/trunk/uspace/libc/arch/sparc64/src/syscall.c
/trunk/kernel/arch/sparc64/include/trap/syscall.h /trunk/kernel/arch/sparc64/src/trap/trap_table.S /trunk/kernel/generic/include/syscall/syscall.h /trunk/uspace/libc/arch/sparc64/Makefile.inc /trunk/uspace/libc/generic/ddi.c /trunk/uspace/libc/include/libc.h /trunk/uspace/libc/include/sys/types.h
|
1787 |
6611 d 8 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 |
6618 d 9 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
|
1694 |
6641 d 9 h |
palkovsky |
/uspace/trunk/ |
Modified uspace to match changes in kernel ipc/irq.
Fixed types in ega fb.
Added dummy interfacing with PS/2 mouse. |
|
/uspace/trunk/kbd/include/keys.h /uspace/trunk/libc/arch/amd64/include/ddi.h /uspace/trunk/libc/arch/ia32/include/ddi.h
/uspace/trunk/console/console.c /uspace/trunk/fb/ega.c /uspace/trunk/kbd/arch/ia32/include/kbd.h /uspace/trunk/kbd/arch/ia32/src/kbd.c /uspace/trunk/kbd/arch/ia64/include/kbd.h /uspace/trunk/kbd/arch/ia64/src/kbd.c /uspace/trunk/kbd/arch/mips32/include/kbd.h /uspace/trunk/kbd/arch/mips32/src/kbd.c /uspace/trunk/kbd/arch/ppc32/include/kbd.h /uspace/trunk/kbd/arch/ppc32/src/kbd.c /uspace/trunk/kbd/generic/kbd.c /uspace/trunk/kbd/include/kbd.h /uspace/trunk/klog/klog.c /uspace/trunk/libc/generic/async.c
|
1656 |
6645 d 5 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
|
1505 |
6650 d 13 h |
palkovsky |
/uspace/trunk/ |
Added mmap, munmap calls.
Added possibility to access framebuffer using shared memory. |
|
/uspace/trunk/fb/main.h /uspace/trunk/libc/generic/mmap.c /uspace/trunk/libc/include/sys/mman.h
/uspace/trunk/fb/fb.c /uspace/trunk/fb/main.c /uspace/trunk/libc/Makefile /uspace/trunk/libc/arch/amd64/include/types.h /uspace/trunk/libc/arch/ia32/include/types.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/as.c /uspace/trunk/libc/include/ipc/fb.h
|
1314 |
6670 d 10 h |
cejka |
/uspace/trunk/libc/ |
Added limits.h with max and min values for integer types.
Added a few string functions. |
|
/uspace/trunk/libc/arch/amd64/include/limits.h /uspace/trunk/libc/arch/ia32/include/limits.h /uspace/trunk/libc/arch/ia64/include/limits.h /uspace/trunk/libc/arch/mips32/include/limits.h /uspace/trunk/libc/arch/mips32eb/include/limits.h /uspace/trunk/libc/arch/ppc32/include/limits.h /uspace/trunk/libc/include/limits.h
/uspace/trunk/libc/generic/string.c /uspace/trunk/libc/include/ctype.h /uspace/trunk/libc/include/string.h
|
1243 |
6686 d 15 h |
cejka |
/uspace/trunk/libc/ |
Definition of endianness moved to architecture dependent subdirectory.
Deleted link from mips32eb/include to mips32/include. It will be
fixed in next commit due to problems with svn. |
|
/uspace/trunk/libc/arch/amd64/include/endian.h /uspace/trunk/libc/arch/ia32/include/endian.h /uspace/trunk/libc/arch/ia64/include/endian.h /uspace/trunk/libc/arch/mips32/include/endian.h /uspace/trunk/libc/arch/ppc32/include/endian.h
/uspace/trunk/libc/arch/mips32eb/include
/uspace/trunk/libc/include/endian.h
|
1129 |
6720 d 12 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 |
6721 d 16 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
|
1110 |
6722 d 4 h |
jermar |
/uspace/trunk/libc/ |
Port atomic operations to uspace. |
|
/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/libc/include/atomic.h
|
1010 |
6729 d 14 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
|
989 |
6730 d 9 h |
palkovsky |
/uspace/trunk/libc/arch/ |
Correct size_t for 64-bit platforms. |
|
/uspace/trunk/libc/arch/amd64/include/types.h /uspace/trunk/libc/arch/ia64/include/types.h
|
976 |
6730 d 13 h |
cejka |
/uspace/trunk/libc/arch/ |
Added missing uspace types definitions to non-ia32 arch. |
|
/uspace/trunk/libc/arch/amd64/include/types.h /uspace/trunk/libc/arch/ia64/include/types.h /uspace/trunk/libc/arch/mips32/include/types.h
|
805 |
6766 d 0 h |
palkovsky |
/uspace/trunk/ |
Added AMD64 userspace. |
|
/uspace/trunk/libc/arch/amd64 /uspace/trunk/libc/arch/amd64/Makefile.inc /uspace/trunk/libc/arch/amd64/_link.ld.in /uspace/trunk/libc/arch/amd64/include /uspace/trunk/libc/arch/amd64/include/types.h /uspace/trunk/libc/arch/amd64/src /uspace/trunk/libc/arch/amd64/src/entry.s /uspace/trunk/libc/arch/amd64/src/syscall.S /uspace/trunk/libc/arch/mips32eb/_link.ld.in
/uspace/trunk/libc/Makefile /uspace/trunk/libc/arch/ia32/Makefile.inc /uspace/trunk/libc/arch/mips32/Makefile.inc /uspace/trunk/uspace.config
|