Rev |
Age |
Author |
Path |
Log message |
Diff |
1184 |
6742 d 23 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. |
|
1178 |
6743 d 20 h |
jermar |
/kernel/trunk/ |
Add task_find_by_id().
Add kernel support for SYS_MAP_PHYSMEM. |
|
1177 |
6744 d 0 h |
jermar |
/kernel/trunk/generic/ |
Modify B+tree node key width to be 64-bit wide on all platforms. |
|
1176 |
6744 d 1 h |
jermar |
/kernel/trunk/generic/ |
Kernel support for SYS_GET_TASK_ID syscall. |
|
1174 |
6744 d 2 h |
jermar |
/kernel/trunk/ |
Start capabilities support. |
|
1171 |
6744 d 4 h |
jermar |
/kernel/trunk/ |
Initialize ARCH_THREAD_DATA on all architectures.
On ia32 and amd64 this fixes bug caused by uninitialized TLS pointer. |
|
1170 |
6744 d 21 h |
vana |
/kernel/trunk/ |
Stack size definition macro definition fix |
|
1168 |
6746 d 18 h |
vana |
/kernel/trunk/ |
Thread RSE support completion (kernel) |
|
1159 |
6746 d 22 h |
jermar |
/kernel/trunk/generic/ |
Replace list of all tasks with B+tree of all tasks. |
|
1158 |
6746 d 22 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. |
|
1138 |
6759 d 20 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(). |
|
1115 |
6764 d 1 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. |
|
1104 |
6764 d 20 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 |
6765 d 0 h |
jermar |
/kernel/trunk/generic/src/ |
Remove extra before_thread_runs() calls. |
|
1086 |
6768 d 14 h |
palkovsky |
/kernel/trunk/generic/ |
Untested better IPC functions.
* There is some bug in MIPS, unpredicatbly sometimes the thread gets mapped
different frame for stack. |
|
1083 |
6769 d 14 h |
palkovsky |
/kernel/trunk/generic/src/ |
Fixed incorrect locking in ipc. |
|
1078 |
6769 d 19 h |
jermar |
/kernel/trunk/ |
Improved uspace threads.
ia64 needs fixing. |
|
1066 |
6770 d 11 h |
jermar |
/kernel/trunk/ |
Support for user space threads. |
|
1062 |
6770 d 15 h |
jermar |
/kernel/trunk/ |
It is now possible to associate symbolic names with both threads and tasks.
More verbose kconsole threads, tasks and scheduler commands. |
|
1060 |
6770 d 16 h |
palkovsky |
/kernel/trunk/ |
Added task_print.
Fixed ipc to support connect_me_to. |
|
1048 |
6770 d 22 h |
jermar |
/kernel/trunk/generic/ |
Restore interrupts when failing in as_remap().
Add check_area_conflicts() that checks whether address area overlaps with other areas.
Refuse to create writeable executable address space areas.
Rename as_area_t::size to as_area_t::pages. |
|
1040 |
6771 d 1 h |
palkovsky |
/kernel/trunk/generic/ |
Changed ipc to use spinlocks instead of mutexes again.
Fixed loading inits to set nameservice as the first loaded process.
Lot of TODO in ipc done. |
|
1026 |
6771 d 13 h |
jermar |
/kernel/trunk/generic/ |
Support only anonymous address space areas. |
|
1025 |
6771 d 14 h |
palkovsky |
/kernel/trunk/generic/src/proc/ |
Fix bug that made task_run_program to always run init. |
|
1007 |
6772 d 1 h |
decky |
/kernel/trunk/ |
ppc32: preemptive scheduling works now
FPU context saving disabled for now |
|
1005 |
6772 d 1 h |
palkovsky |
/kernel/trunk/generic/ |
Added support for taskid. |
|
998 |
6772 d 13 h |
palkovsky |
/kernel/trunk/generic/ |
Completed asynchronous ipc. |
|
973 |
6773 d 1 h |
palkovsky |
/kernel/trunk/generic/ |
Added simpler userspace starting. |
|
965 |
6773 d 4 h |
palkovsky |
/kernel/trunk/ |
Added skeleton name service.
Cleanup for IPC to use mutexes instead of spinlocks. |
|
955 |
6773 d 17 h |
palkovsky |
/kernel/trunk/ |
Added kernel IPC functionality. |
|
935 |
6774 d 20 h |
vana |
/kernel/trunk/ |
Two frame stack (standard stack + RSE) on Itanium |
|
907 |
6784 d 1 h |
palkovsky |
/kernel/trunk/generic/src/proc/ |
Correct sleeping on memory allocation during FPU lazy switch. |
|
906 |
6784 d 13 h |
palkovsky |
/kernel/trunk/ |
Added lazy fpu context allocation.
- threads that don't use fpu, don't get allocated fpu context
- fpu context alignment on AMD64 nicely disappeared |
|
898 |
6787 d 0 h |
jermar |
/kernel/trunk/ |
Minor changes. |
|
897 |
6787 d 13 h |
jermar |
/kernel/trunk/ |
sparc64 work.
Fix KBD_VIRT_ADDRESS.
Call before_thread_runs() prior to the switch to the thread's stack. Add comment why this is crucial.
Add after_thread_ran() to the scheduler.
Add before_thread_runs_arch() and after_thread_ran_arch() for sparc64, mapping/demapping thread's kernel stack.
Add dummy after_thread_ran_arch() to all other architectures.
Add dtlb_insert_mapping() to promote code reuse. |
|
860 |
6794 d 13 h |
decky |
/kernel/trunk/ |
indentation changes
ppc32 fpu context save/restore
ppc32 CPU version
ppc32 memcpy |
|
842 |
6798 d 23 h |
palkovsky |
/kernel/trunk/ |
Avoid memory exhaustion in thread_create in slab2 test. |
|
827 |
6805 d 14 h |
palkovsky |
/kernel/trunk/ |
Unimportant changes regarding FPU context. |
|
823 |
6806 d 13 h |
jermar |
/kernel/trunk/ |
Reimplement ASID stealing logic.
This time, hopefully, with correct synchronization. |
|
822 |
6806 d 14 h |
palkovsky |
/kernel/trunk/ |
Changed malloc to include second parameter and documented
recommended usage.
Added zone merging, made ia32 & amd64 to merge found zones. |
|