Rev |
Age |
Author |
Path |
Log message |
Diff |
4605 |
5656 d 18 h |
decky |
/branches/snapshot/ |
add task snapshoting branch |
|
4126 |
5767 d 18 h |
decky |
/trunk/kernel/arch/ |
cleanup pm.h and related stuff (no change in functionality) |
|
4125 |
5767 d 19 h |
decky |
/trunk/kernel/arch/ia32/ |
rename selector() to gdtselector() to unify with amd64 |
|
3892 |
5794 d 10 h |
jermar |
/trunk/ |
Get rid of CONFIG_DEBUG_AS_WATCHPOINT. |
|
3485 |
5926 d 10 h |
jermar |
/trunk/ |
Support for SYSENTER on ia32. |
|
2630 |
6240 d 9 h |
jermar |
/trunk/kernel/arch/ |
Formatting fixes. |
|
2441 |
6419 d 10 h |
decky |
/trunk/kernel/ |
fix ICC compilation |
|
2071 |
6553 d 11 h |
jermar |
/trunk/ |
(c) versus (C) |
|
1854 |
6694 d 20 h |
jermar |
/trunk/kernel/ |
Define architecture-specific thread sub-constructors and sub-destructors on all architectures.
Define the THREAD_FLAG_USPACE which means that the thread runs in user space.
The forementioned changes allow for allocating of user window buffer on sparc64
threads that execute in userspace.
A lot of formatting and indentation fixes. |
|
1787 |
6743 d 13 h |
decky |
/ |
move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot |
|
1780 |
6750 d 14 h |
jermar |
/kernel/trunk/ |
Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.). |
|
1705 |
6770 d 20 h |
cejka |
/kernel/trunk/ |
Added file with modules definitions and descriptions.
We are able to change modules order and their description in one place. |
|
1702 |
6771 d 17 h |
cejka |
/kernel/trunk/ |
Kernel doxygen comments updated. |
|
1256 |
6816 d 16 h |
jermar |
/kernel/trunk/arch/ |
Improve SYS_IOSPACE_ENABLE support.
The general protection fault handler now contains
code to service early I/O Permission bitmap faults. |
|
1255 |
6816 d 20 h |
jermar |
/kernel/trunk/arch/ |
I/O Permission bitmap fixes. The trailing all-one sequence must be 8 bits long.
Update TSS limit in a proper way. |
|
1251 |
6817 d 17 h |
jermar |
/kernel/trunk/ |
Fix BITS2BYTES macro to return 0 when passed 0 as argument.
Fix ia32 TSS segment granularity to be 0.
Fix ia32 and amd64 initial TSS limit to be 103.
Little textual changes here and there. |
|
1201 |
6828 d 16 h |
jermar |
/kernel/trunk/arch/ |
Fix amd64 and ia32 management of I/O bitmap in before_task_runs_arch()
by treating the iomap array as a bitmap. Make use of the bitmap type
and functions added in previous commit. |
|
1190 |
6832 d 13 h |
jermar |
/kernel/trunk/arch/ |
Move updating I/O Permission bitmap to before_task_runs_arch(). |
|
1187 |
6832 d 14 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. |
|
1184 |
6832 d 17 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. |
|
1112 |
6853 d 21 h |
palkovsky |
/kernel/trunk/ |
Added basic kernel infrastructure for ThreadLocalStorage(TLS) for
ia32(complete),amd64(complete),mips32(missing emulation of rdhwr instruction). |
|
1077 |
6859 d 18 h |
palkovsky |
/kernel/trunk/ |
Modified debugger to be able to coexist in AS watch mode and SMP. |
|
1074 |
6859 d 19 h |
palkovsky |
/kernel/trunk/ |
Ported AMD64 debugger to ia32 and enabled AS watchpoint to ia32 as well. |
|
897 |
6877 d 7 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. |
|
534 |
6962 d 12 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel again. |
|
532 |
6962 d 12 h |
jermar |
/ |
Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch. |
|
501 |
6974 d 16 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel. |
|
184 |
7058 d 22 h |
jermar |
/SPARTAN/trunk/ |
Add lib/the.c.
Add and deploy the_initialize() and the_copy().
Make IA-32's before_thread_runs() use SP_DELTA macro. |
|
167 |
7069 d 18 h |
jermar |
/SPARTAN/trunk/ |
Switch over to per vm_t page tables. (breaks ia32 userspace)
Define dummy memcopy() for amd64 and ppc to satisfy compiler.
Get rid of problematic #include <arch/mm/page.h> in mm/page.h.
Indentation fixes and small changes here and there. |
|
125 |
7104 d 9 h |
jermar |
/SPARTAN/trunk/ |
Huge indentation fix. |
|
52 |
7172 d 9 h |
vana |
/SPARTAN/trunk/ |
Move fpu_context switching functions from context.s to fpu_context.c on all platforms.
Add fpu_context.h.
Make before_thread_runs() arch-independent and create arch dependent version before_thread_runs_arch(). |
|
22 |
7193 d 13 h |
jermar |
/SPARTAN/trunk/ |
Added before_thread_runs() to cope with TSS of user space tasks. |
|