Subversion Repositories HelenOS

Rev

Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
4262 5513 d 11 h jermar /trunk/uspace/lib/libc/ thread_exit() needs to be noreturn as well  
4256 5514 d 12 h svoboda /trunk/uspace/lib/libc/generic/ Replace some uses of old string functions in C library.  
3565 5666 d 7 h svoboda /trunk/ Fix sys_thread_create(): could fail when passed name was at end of mapping, could crash if provided name was not null-terminated.  
2586 6040 d 8 h jermar /trunk/uspace/lib/libc/ Unify implementations of TLS variant I and variant II __alloc_tls() and
__free_tls_arch().
 
2568 6068 d 0 h jermar /trunk/uspace/ Rename fibril_schedule_next_adv() to fibril_switch(). Rename
fibril_schedule_next() to fibril_yield(). Some fibril structures could be
uninitialized, set them to zero in fibril_setup(). For some fibrils, the stack
member can be NULL (e.g. every thread's first/main fibril); don't do free on
these stacks when cleaning up after a dead fibril.
 
2482 6165 d 6 h jermar /trunk/ Goodbye pseudo threads, welcome fibrils.
The renaming might still be incomplete.
 
2479 6169 d 17 h jermar /trunk/ New, better-structured, directory layout for uspace.  
2470 6179 d 9 h jermar /trunk/ Fix a double-free recently introduced in revision r2436.
Add a comment clarifying the life-cycle of the kernel_uarg structure.

Comment out the freeing of userspace thread stack while still running on it.
This should be fixed by implementing userspace version of thread_join().
 
2469 6179 d 10 h jermar /trunk/uspace/libc/generic/ Fix a bug in userspace thread_create() that confused success of the
syscall with failure.
 
2436 6193 d 11 h jermar /trunk/ Fix two memory leaks.

In kernel, kernel_uarg structure needs to be deallocated when a thread
with userspace context is destroyed.

In userspace, the return value of the SYS_THREAD_CREATE must be checked
for error conditions and in case of error, uarg and stack must be freed
up.
 
2216 6246 d 10 h decky /trunk/ make thread ID 64 bit (task ID is 64 bit already)
cleanup thread syscalls
 
2188 6247 d 17 h decky /trunk/ new user space testing framework (unfinished)  
2071 6326 d 10 h jermar /trunk/ (c) versus (C)  
2061 6344 d 17 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.
 
1866 6461 d 10 h jermar /trunk/uspace/ Indentation and formatting facelift for libc.
Libc headers now have C99 compliant guards.
 
1787 6516 d 12 h decky / move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot  
1781 6523 d 13 h jermar /uspace/trunk/ Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.).  
1709 6541 d 18 h jermar /uspace/trunk/ Fix some broken doxygen comments.  
1653 6550 d 11 h cejka /uspace/trunk/ Doxygen comments.  
1614 6551 d 14 h palkovsky /uspace/trunk/libc/generic/ Fixed bad TLS BSS initialization.  
1427 6561 d 8 h palkovsky /uspace/trunk/ Added functions to async framework for reasonable sending asynchronous
messages.
 
1407 6565 d 20 h palkovsky /uspace/trunk/libc/ Small updates to asynchronous framework.  
1392 6567 d 11 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.
 
1167 6609 d 11 h vana /uspace/trunk/libc/ Thread RSE support completion (uspace)  
1129 6625 d 16 h palkovsky /uspace/trunk/ Completed support for TLS in GCC (modifier __thread) for ia32,amd64,ia64 and mips.  
1113 6626 d 20 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.
 
1081 6632 d 11 h jermar /uspace/trunk/ Fix uspace threads for ia64.  
1079 6632 d 12 h jermar /uspace/trunk/ Improved uspace threads (uspace).  
1065 6633 d 5 h jermar /uspace/trunk/ Support for uspace threads.  
713 6693 d 13 h decky /uspace/trunk/ some fancy stuff  
491 6753 d 16 h decky /uspace/trunk/ initial uspace build system  
447 6762 d 13 h decky /uspace/ Initial import of user-space stuff