Rev |
Age |
Author |
Path |
Log message |
Diff |
1143 |
6750 d 19 h |
palkovsky |
/uspace/trunk/libc/ |
Added support for multithreading (using futexes) into malloc. |
|
1142 |
6751 d 0 h |
jermar |
/kernel/trunk/ |
Update B+-tree code.
The code is there, btree_remove() has not been tested yet.
(Fixes, if any, are to come later today.) |
|
1141 |
6751 d 21 h |
palkovsky |
/kernel/trunk/generic/src/ipc/ |
Completed ipc_cleanup, it should be somehow integrated into
cleanup of task. The function can sleep. |
|
1140 |
6752 d 16 h |
jermar |
/kernel/trunk/generic/ |
Change B+-tree from 2-3-4 tree to 2-3-4-5 tree by adding space for the fourth key.
This should make key removal easier. |
|
1139 |
6752 d 16 h |
jermar |
/kernel/trunk/generic/include/ |
Fix comments. |
|
1138 |
6755 d 18 h |
jermar |
/kernel/trunk/ |
CPU stacks must have two frames on ia64.
Make sure both thread stack frames are mapped in before_thread_runs_arch().
Take STACK_FRAMES into account during kernel memory layout initialization in main_bsp(). |
|
1137 |
6755 d 21 h |
vana |
/kernel/trunk/arch/ia64/include/ |
context_set patch in kernel for changed allocation of ia64 RSE and stack |
|
1136 |
6756 d 16 h |
jermar |
/kernel/trunk/generic/src/adt/ |
Try to avoid splitting full B+-tree nodes by trying left or right rotation first.
(This improved memory consumption of this algorithm by some 40% - meassured on 101-item set). |
|
1135 |
6757 d 12 h |
decky |
/kernel/trunk/ |
framebuffer code cleanup, support for non-standard scanline sizes
ppc32: get framebuffer parameters from boot loader |
|
1134 |
6757 d 19 h |
jermar |
/kernel/trunk/generic/src/adt/ |
Change B+-tree to:
- store lesser keys in a key's left subtree
- propagate the bigger of medians (if there are two medians) when splitting a node |
|
1133 |
6758 d 14 h |
decky |
/boot/trunk/arch/ppc32/loader/ |
ofw uses \r\n as newline |
|
1132 |
6758 d 15 h |
decky |
/kernel/trunk/arch/ppc32/ |
kernel boot API change |
|
1131 |
6758 d 15 h |
decky |
/boot/trunk/arch/ppc32/loader/ |
kernel boot API change |
|
1130 |
6758 d 16 h |
decky |
/boot/trunk/arch/ppc32/loader/ |
extend boot info |
|
1129 |
6758 d 20 h |
palkovsky |
/uspace/trunk/ |
Completed support for TLS in GCC (modifier __thread) for ia32,amd64,ia64 and mips. |
|
1128 |
6758 d 21 h |
jermar |
/uspace/trunk/ |
Improve comments in psthread.c
Rename pt->list to pt->link.
Rename ps_preempt() to psthread_schedule_next().
Rename ps_join() to psthread_join(). |
|
1127 |
6758 d 22 h |
palkovsky |
/uspace/trunk/ |
Correct dependencies creation. |
|
1126 |
6758 d 22 h |
palkovsky |
/kernel/trunk/arch/mips32/src/ |
Fix bad order of EPC & STATUS change in syscall_shortcut. |
|
1125 |
6759 d 0 h |
jermar |
/uspace/trunk/ |
TLS and pseudo thread support for ia64. |
|
1124 |
6759 d 0 h |
jermar |
/kernel/trunk/arch/ |
Small changes.
Make sparc64 and ppc32 compile again. |
|
1123 |
6759 d 10 h |
palkovsky |
/uspace/trunk/libc/arch/mips32/ |
Changed MIPS to compile as PIC code. |
|
1122 |
6759 d 10 h |
palkovsky |
/kernel/trunk/arch/mips32/ |
Set up T9 to entry point on entry to userspace to facilitate better
PIC running. |
|
1121 |
6759 d 13 h |
jermar |
/kernel/trunk/ |
Small textual changes. |
|
1120 |
6759 d 13 h |
palkovsky |
/uspace/trunk/libc/arch/ |
Added missing ia32 files.
Renamed __entry to __start in mips, which is standard in gcc standard
linking scripts. |
|
1119 |
6759 d 13 h |
palkovsky |
/kernel/trunk/arch/ |
Fixed bad rflags masking in amd64.
Added TLS get address instruction emulation for mips. |
|
1118 |
6759 d 13 h |
jermar |
/kernel/trunk/generic/src/syscall/ |
Change syscall table. |
|
1117 |
6759 d 13 h |
jermar |
/kernel/trunk/generic/ |
Improved futexes. (kernel part) |
|
1116 |
6759 d 13 h |
jermar |
/uspace/trunk/libc/ |
Improved futexes for uspace.
Please review. |
|
1115 |
6759 d 23 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 |
6760 d 0 h |
jermar |
/uspace/trunk/libc/generic/ |
Fix futexes to correctly wake sleeping threads. |
|
1113 |
6760 d 0 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 |
6760 d 0 h |
palkovsky |
/kernel/trunk/ |
Added basic kernel infrastructure for ThreadLocalStorage(TLS) for
ia32(complete),amd64(complete),mips32(missing emulation of rdhwr instruction). |
|
1111 |
6760 d 12 h |
jermar |
/uspace/trunk/ |
Basic futex support for userspace. |
|
1110 |
6760 d 12 h |
jermar |
/uspace/trunk/libc/ |
Port atomic operations to uspace. |
|
1109 |
6760 d 12 h |
jermar |
/kernel/trunk/ |
Basic futex. Prototype implementation. |
|
1108 |
6760 d 12 h |
jermar |
/kernel/trunk/ |
Small PTE_* macros and SET_PTL0_ADDRESS macro changes. |
|
1107 |
6760 d 12 h |
jermar |
/kernel/trunk/ |
Small atomic #include and typedef changes. |
|
1106 |
6760 d 12 h |
jermar |
/kernel/trunk/arch/ |
Pass either -DCONFIG_PAGE_PT or -DCONFIG_PAGE_HT to the compiler. |
|
1105 |
6760 d 12 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 |
6760 d 17 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. |
|