Subversion Repositories HelenOS-historic

Rev

Go to most recent revision | Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
1119 6643 d 4 h palkovsky /kernel/trunk/arch/ Fixed bad rflags masking in amd64.
Added TLS get address instruction emulation for mips.
 
1118 6643 d 4 h jermar /kernel/trunk/generic/src/syscall/ Change syscall table.  
1117 6643 d 4 h jermar /kernel/trunk/generic/ Improved futexes. (kernel part)  
1116 6643 d 4 h jermar /uspace/trunk/libc/ Improved futexes for uspace.
Please review.
 
1115 6643 d 14 h jermar /kernel/trunk/generic/src/proc/ Fix kcpulb() to change state of the migrated thread to Entering so that thread_ready() won't panic() on violated assertion.
Make print out of threads and tasks more dense again.
 
1114 6643 d 14 h jermar /uspace/trunk/libc/generic/ Fix futexes to correctly wake sleeping threads.  
1113 6643 d 15 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.
 
1112 6643 d 15 h palkovsky /kernel/trunk/ Added basic kernel infrastructure for ThreadLocalStorage(TLS) for
ia32(complete),amd64(complete),mips32(missing emulation of rdhwr instruction).
 
1111 6644 d 3 h jermar /uspace/trunk/ Basic futex support for userspace.  
1110 6644 d 3 h jermar /uspace/trunk/libc/ Port atomic operations to uspace.  
1109 6644 d 3 h jermar /kernel/trunk/ Basic futex. Prototype implementation.  
1108 6644 d 3 h jermar /kernel/trunk/ Small PTE_* macros and SET_PTL0_ADDRESS macro changes.  
1107 6644 d 3 h jermar /kernel/trunk/ Small atomic #include and typedef changes.  
1106 6644 d 3 h jermar /kernel/trunk/arch/ Pass either -DCONFIG_PAGE_PT or -DCONFIG_PAGE_HT to the compiler.  
1105 6644 d 3 h jermar /uspace/trunk/libc/arch/mips32/ Fix mips32 linker script.
Add .scommon input section.
Add .got section and define _gp symbol.
Use this symbol to initialize gp register (r28).
 
1104 6644 d 8 h jermar /kernel/trunk/ Define atomic_t only once in atomic.h
Change the encapsulated counter type to long so that it supports negative values as well.
 
1103 6644 d 12 h jermar /kernel/trunk/generic/src/ Remove extra before_thread_runs() calls.  
1102 6645 d 3 h palkovsky /kernel/trunk/arch/ Keep $K1 register for use as a thread local storage pointer on MIPS.  
1101 6646 d 5 h jermar /kernel/trunk/ B+-tree implementation.
Currently supports only inserting and searching.
 
1100 6646 d 5 h palkovsky /kernel/trunk/ Cleanup of spinlocks, now compiles both ia32 and amd64 with
and without DEBUG_SPINLOCKS. Made spinlocks inline.
Moved syscall_handler to generic (it was identical for ia32,amd64 & mips32).
Made slightly faster syscall for ia32.
Made better interrupt routines for ia32.
Allow not saving non-scratch registers during interrupt on ia32,amd64,mips32.
Aligned interrupt handlers on ia32,amd64, this should prevent problems
with different instruction lengths.
 

Show All