Subversion Repositories HelenOS

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
4262 5514 d 12 h jermar /trunk/uspace/lib/libc/ thread_exit() needs to be noreturn as well  
4256 5515 d 13 h svoboda /trunk/uspace/lib/libc/generic/ Replace some uses of old string functions in C library.  
3565 5667 d 8 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 6041 d 8 h jermar /trunk/uspace/lib/libc/ Unify implementations of TLS variant I and variant II __alloc_tls() and
__free_tls_arch().
 
2568 6069 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 6166 d 6 h jermar /trunk/ Goodbye pseudo threads, welcome fibrils.
The renaming might still be incomplete.
 
2479 6170 d 18 h jermar /trunk/ New, better-structured, directory layout for uspace.  
2470 6180 d 10 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 6180 d 11 h jermar /trunk/uspace/libc/generic/ Fix a bug in userspace thread_create() that confused success of the
syscall with failure.
 
2436 6194 d 12 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 6247 d 11 h decky /trunk/ make thread ID 64 bit (task ID is 64 bit already)
cleanup thread syscalls
 
2188 6248 d 17 h decky /trunk/ new user space testing framework (unfinished)  
2071 6327 d 11 h jermar /trunk/ (c) versus (C)  
2061 6345 d 18 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 6462 d 11 h jermar /trunk/uspace/ Indentation and formatting facelift for libc.
Libc headers now have C99 compliant guards.
 
1787 6517 d 13 h decky / move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot  
1781 6524 d 14 h jermar /uspace/trunk/ Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.).  
1709 6542 d 19 h jermar /uspace/trunk/ Fix some broken doxygen comments.  
1653 6551 d 12 h cejka /uspace/trunk/ Doxygen comments.  
1614 6552 d 15 h palkovsky /uspace/trunk/libc/generic/ Fixed bad TLS BSS initialization.  
1427 6562 d 9 h palkovsky /uspace/trunk/ Added functions to async framework for reasonable sending asynchronous
messages.
 
1407 6566 d 20 h palkovsky /uspace/trunk/libc/ Small updates to asynchronous framework.  
1392 6568 d 12 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 6610 d 12 h vana /uspace/trunk/libc/ Thread RSE support completion (uspace)  
1129 6626 d 17 h palkovsky /uspace/trunk/ Completed support for TLS in GCC (modifier __thread) for ia32,amd64,ia64 and mips.  
1113 6627 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.
 
1081 6633 d 11 h jermar /uspace/trunk/ Fix uspace threads for ia64.  
1079 6633 d 13 h jermar /uspace/trunk/ Improved uspace threads (uspace).  
1065 6634 d 6 h jermar /uspace/trunk/ Support for uspace threads.  
713 6694 d 14 h decky /uspace/trunk/ some fancy stuff  
491 6754 d 17 h decky /uspace/trunk/ initial uspace build system  
447 6763 d 14 h decky /uspace/ Initial import of user-space stuff