Subversion Repositories HelenOS

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
4647 6130 d 0 h jermar /branches/arm/ Branch out a new arm branch.  
4262 6226 d 23 h jermar /trunk/uspace/lib/libc/ thread_exit() needs to be noreturn as well  
4256 6227 d 23 h svoboda /trunk/uspace/lib/libc/generic/ Replace some uses of old string functions in C library.  
3565 6379 d 19 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 6753 d 19 h jermar /trunk/uspace/lib/libc/ Unify implementations of TLS variant I and variant II __alloc_tls() and
__free_tls_arch().
 
2568 6781 d 11 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 6878 d 17 h jermar /trunk/ Goodbye pseudo threads, welcome fibrils.
The renaming might still be incomplete.
 
2479 6883 d 5 h jermar /trunk/ New, better-structured, directory layout for uspace.  
2470 6892 d 21 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 6892 d 22 h jermar /trunk/uspace/libc/generic/ Fix a bug in userspace thread_create() that confused success of the
syscall with failure.
 
2436 6906 d 22 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 6959 d 22 h decky /trunk/ make thread ID 64 bit (task ID is 64 bit already)
cleanup thread syscalls
 
2188 6961 d 4 h decky /trunk/ new user space testing framework (unfinished)  
2071 7039 d 22 h jermar /trunk/ (c) versus (C)  
2061 7058 d 5 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 7174 d 22 h jermar /trunk/uspace/ Indentation and formatting facelift for libc.
Libc headers now have C99 compliant guards.
 
1787 7230 d 0 h decky / move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot  
1781 7237 d 1 h jermar /uspace/trunk/ Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.).  
1709 7255 d 6 h jermar /uspace/trunk/ Fix some broken doxygen comments.  
1653 7263 d 23 h cejka /uspace/trunk/ Doxygen comments.  
1614 7265 d 2 h palkovsky /uspace/trunk/libc/generic/ Fixed bad TLS BSS initialization.  
1427 7274 d 20 h palkovsky /uspace/trunk/ Added functions to async framework for reasonable sending asynchronous
messages.
 
1407 7279 d 7 h palkovsky /uspace/trunk/libc/ Small updates to asynchronous framework.  
1392 7280 d 23 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 7322 d 23 h vana /uspace/trunk/libc/ Thread RSE support completion (uspace)  
1129 7339 d 4 h palkovsky /uspace/trunk/ Completed support for TLS in GCC (modifier __thread) for ia32,amd64,ia64 and mips.  
1113 7340 d 8 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 7345 d 22 h jermar /uspace/trunk/ Fix uspace threads for ia64.  
1079 7346 d 0 h jermar /uspace/trunk/ Improved uspace threads (uspace).  
1065 7346 d 17 h jermar /uspace/trunk/ Support for uspace threads.  
713 7407 d 1 h decky /uspace/trunk/ some fancy stuff  
491 7467 d 4 h decky /uspace/trunk/ initial uspace build system  
447 7476 d 1 h decky /uspace/ Initial import of user-space stuff