Subversion Repositories HelenOS

Rev

Go to most recent revision | Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
2568 6218 d 16 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 6315 d 22 h jermar /trunk/ Goodbye pseudo threads, welcome fibrils.
The renaming might still be incomplete.
 
2479 6320 d 9 h jermar /trunk/ New, better-structured, directory layout for uspace.  
2470 6330 d 1 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 6330 d 3 h jermar /trunk/uspace/libc/generic/ Fix a bug in userspace thread_create() that confused success of the
syscall with failure.
 
2436 6344 d 3 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 6397 d 3 h decky /trunk/ make thread ID 64 bit (task ID is 64 bit already)
cleanup thread syscalls
 
2188 6398 d 9 h decky /trunk/ new user space testing framework (unfinished)  
2071 6477 d 2 h jermar /trunk/ (c) versus (C)  
2061 6495 d 9 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 6612 d 3 h jermar /trunk/uspace/ Indentation and formatting facelift for libc.
Libc headers now have C99 compliant guards.
 
1787 6667 d 4 h decky / move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot  
1781 6674 d 6 h jermar /uspace/trunk/ Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.).  
1709 6692 d 11 h jermar /uspace/trunk/ Fix some broken doxygen comments.  
1653 6701 d 3 h cejka /uspace/trunk/ Doxygen comments.  
1614 6702 d 7 h palkovsky /uspace/trunk/libc/generic/ Fixed bad TLS BSS initialization.  
1427 6712 d 0 h palkovsky /uspace/trunk/ Added functions to async framework for reasonable sending asynchronous
messages.
 
1407 6716 d 12 h palkovsky /uspace/trunk/libc/ Small updates to asynchronous framework.  
1392 6718 d 3 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 6760 d 4 h vana /uspace/trunk/libc/ Thread RSE support completion (uspace)  
1129 6776 d 8 h palkovsky /uspace/trunk/ Completed support for TLS in GCC (modifier __thread) for ia32,amd64,ia64 and mips.  
1113 6777 d 12 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 6783 d 3 h jermar /uspace/trunk/ Fix uspace threads for ia64.  
1079 6783 d 5 h jermar /uspace/trunk/ Improved uspace threads (uspace).  
1065 6783 d 21 h jermar /uspace/trunk/ Support for uspace threads.  
713 6844 d 5 h decky /uspace/trunk/ some fancy stuff  
491 6904 d 9 h decky /uspace/trunk/ initial uspace build system  
447 6913 d 5 h decky /uspace/ Initial import of user-space stuff