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
4256 5573 d 3 h svoboda /trunk/uspace/lib/libc/generic/ Replace some uses of old string functions in C library.  
3565 5724 d 23 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 6098 d 23 h jermar /trunk/uspace/lib/libc/ Unify implementations of TLS variant I and variant II __alloc_tls() and
__free_tls_arch().
 
2568 6126 d 15 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 6223 d 21 h jermar /trunk/ Goodbye pseudo threads, welcome fibrils.
The renaming might still be incomplete.
 
2479 6228 d 9 h jermar /trunk/ New, better-structured, directory layout for uspace.  
2470 6238 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 6238 d 2 h jermar /trunk/uspace/libc/generic/ Fix a bug in userspace thread_create() that confused success of the
syscall with failure.
 
2436 6252 d 2 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 6305 d 2 h decky /trunk/ make thread ID 64 bit (task ID is 64 bit already)
cleanup thread syscalls
 
2188 6306 d 8 h decky /trunk/ new user space testing framework (unfinished)  
2071 6385 d 2 h jermar /trunk/ (c) versus (C)  
2061 6403 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 6520 d 2 h jermar /trunk/uspace/ Indentation and formatting facelift for libc.
Libc headers now have C99 compliant guards.
 
1787 6575 d 4 h decky / move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot  
1781 6582 d 5 h jermar /uspace/trunk/ Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.).  
1709 6600 d 10 h jermar /uspace/trunk/ Fix some broken doxygen comments.  
1653 6609 d 3 h cejka /uspace/trunk/ Doxygen comments.  
1614 6610 d 6 h palkovsky /uspace/trunk/libc/generic/ Fixed bad TLS BSS initialization.  
1427 6620 d 0 h palkovsky /uspace/trunk/ Added functions to async framework for reasonable sending asynchronous
messages.
 
1407 6624 d 11 h palkovsky /uspace/trunk/libc/ Small updates to asynchronous framework.  
1392 6626 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 6668 d 3 h vana /uspace/trunk/libc/ Thread RSE support completion (uspace)  
1129 6684 d 8 h palkovsky /uspace/trunk/ Completed support for TLS in GCC (modifier __thread) for ia32,amd64,ia64 and mips.  
1113 6685 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 6691 d 2 h jermar /uspace/trunk/ Fix uspace threads for ia64.  
1079 6691 d 4 h jermar /uspace/trunk/ Improved uspace threads (uspace).  
1065 6691 d 21 h jermar /uspace/trunk/ Support for uspace threads.  
713 6752 d 5 h decky /uspace/trunk/ some fancy stuff  
491 6812 d 8 h decky /uspace/trunk/ initial uspace build system  
447 6821 d 5 h decky /uspace/ Initial import of user-space stuff