Rev |
Age |
Author |
Path |
Log message |
Diff |
1204 |
6742 d 14 h |
jermar |
/kernel/trunk/generic/src/debug/ |
Some formatting and formulation changes. |
|
1200 |
6742 d 20 h |
jermar |
/kernel/trunk/ |
Add bitmap ADT. |
|
1198 |
6742 d 21 h |
cejka |
/kernel/trunk/generic/src/debug/ |
Update comments in printf. |
|
1196 |
6743 d 22 h |
cejka |
/kernel/trunk/ |
Printf ported back from uspace to kernel.
Printf calls changed to match new conventions. |
|
1191 |
6746 d 2 h |
jermar |
/kernel/trunk/ |
Kernel support for SYS_ENABLE_IOSPACE.
amd64 and ia32 provide dummy implementation thereof. |
|
1187 |
6746 d 18 h |
jermar |
/kernel/trunk/ |
Cleanup pm.c and pm.h code on ia32 and amd64.
Add before_task_runs() and before_task_runs_arch() for each architecture.
Add ia32 and amd64 code to ensure I/O Permission Bitmap update. |
|
1185 |
6746 d 21 h |
jermar |
/kernel/trunk/ |
Add task_create_arch() for all architectures. |
|
1184 |
6746 d 21 h |
jermar |
/kernel/trunk/ |
Move arch/thread.h to arch/proc/thread.h on all architectures.
Replace ARCH_THREAD_DATA with new thread_arch_t arch on all architectures.
Similarily, add task_arch_t arch on all architectures.
On amd64 and ia32, grow the TSS segment by 64K + 1B to support IO port
permission bitmap. For the same reason, define per task IO port permission bitmaps
on ia32 and amd64. |
|
1179 |
6747 d 18 h |
jermar |
/kernel/trunk/generic/src/mm/ |
Add some sanity checks to make sure the address space created by SYS_MAM_PHYSMEM will not be remapped
and that as_page_fault() will not try to service page fault for that area. |
|
1178 |
6747 d 19 h |
jermar |
/kernel/trunk/ |
Add task_find_by_id().
Add kernel support for SYS_MAP_PHYSMEM. |
|
1177 |
6747 d 23 h |
jermar |
/kernel/trunk/generic/ |
Modify B+tree node key width to be 64-bit wide on all platforms. |
|
1176 |
6748 d 0 h |
jermar |
/kernel/trunk/generic/ |
Kernel support for SYS_GET_TASK_ID syscall. |
|
1174 |
6748 d 1 h |
jermar |
/kernel/trunk/ |
Start capabilities support. |
|
1171 |
6748 d 3 h |
jermar |
/kernel/trunk/ |
Initialize ARCH_THREAD_DATA on all architectures.
On ia32 and amd64 this fixes bug caused by uninitialized TLS pointer. |
|
1170 |
6748 d 19 h |
vana |
/kernel/trunk/ |
Stack size definition macro definition fix |
|
1168 |
6750 d 16 h |
vana |
/kernel/trunk/ |
Thread RSE support completion (kernel) |
|
1164 |
6750 d 19 h |
jermar |
/kernel/trunk/generic/ |
Switch B+tree node allocation from malloc() to a dedicated slab - btree_node_slab. |
|
1159 |
6750 d 20 h |
jermar |
/kernel/trunk/generic/ |
Replace list of all tasks with B+tree of all tasks. |
|
1158 |
6750 d 21 h |
jermar |
/kernel/trunk/generic/ |
Replace list of all threads with B+tree of all threads.
Add function thread_exists() for querying existence of thread. |
|
1156 |
6750 d 21 h |
jermar |
/kernel/trunk/generic/ |
Sleeping in a wait queue can be now interrupted with
waitq_interrupt_sleep(). |
|
1154 |
6754 d 18 h |
jermar |
/kernel/trunk/generic/src/adt/ |
Fix critical bug in hash table initialization.
Only half of the table was actually allocated and initialized. |
|
1153 |
6754 d 23 h |
jermar |
/kernel/trunk/generic/src/synch/ |
Because of another race condition, futex_wakeup() needs to be able to allocate and initialize the kernel futex structure too. |
|
1150 |
6756 d 3 h |
jermar |
/kernel/trunk/generic/ |
Rename btree_node_left_sibling() to btree_leaf_node_left_neighbour()
and btree_node_right_sibling() to btree_leaf_node_right_neighbour()
as the left and right neighbours of a node needn't be its siblings. |
|
1149 |
6756 d 13 h |
jermar |
/kernel/trunk/generic/include/mm/ |
s/B+-tree/B+tree/ |
|
1148 |
6756 d 13 h |
jermar |
/kernel/trunk/generic/src/ |
s/B+-tree/B+tree/ |
|
1147 |
6756 d 13 h |
jermar |
/kernel/trunk/generic/ |
Deploy B+tree in address space area management.
Change as_remap() to check for conflicts with other address space areas only when the area in question grows. |
|
1144 |
6758 d 17 h |
jermar |
/kernel/trunk/ |
Completed B+-tree support.
Enable btree_remove().
Reorder some static functions and group them together.
Fix order of nodes in the leaf_head list. |
|
1142 |
6759 d 1 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 |
6759 d 22 h |
palkovsky |
/kernel/trunk/generic/src/ipc/ |
Completed ipc_cleanup, it should be somehow integrated into
cleanup of task. The function can sleep. |
|
1140 |
6760 d 17 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 |
6760 d 17 h |
jermar |
/kernel/trunk/generic/include/ |
Fix comments. |
|
1138 |
6763 d 19 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(). |
|
1136 |
6764 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). |
|
1134 |
6765 d 20 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 |
|
1121 |
6767 d 14 h |
jermar |
/kernel/trunk/ |
Small textual changes. |
|
1118 |
6767 d 14 h |
jermar |
/kernel/trunk/generic/src/syscall/ |
Change syscall table. |
|
1117 |
6767 d 14 h |
jermar |
/kernel/trunk/generic/ |
Improved futexes. (kernel part) |
|
1115 |
6768 d 0 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. |
|
1112 |
6768 d 1 h |
palkovsky |
/kernel/trunk/ |
Added basic kernel infrastructure for ThreadLocalStorage(TLS) for
ia32(complete),amd64(complete),mips32(missing emulation of rdhwr instruction). |
|
1109 |
6768 d 13 h |
jermar |
/kernel/trunk/ |
Basic futex. Prototype implementation. |
|