Rev |
Age |
Author |
Path |
Log message |
Diff |
4153 |
5709 d 5 h |
mejdrech |
/branches/network/ |
Networking: merged with trunk changes |
|
3386 |
5905 d 8 h |
decky |
/branches/network/ |
add new network branch (copy of current trunk) |
|
3071 |
5997 d 9 h |
decky |
/trunk/kernel/ |
reflect changes in generic code
proper formatting directives
coding style |
|
2606 |
6197 d 8 h |
jermar |
/trunk/ |
Support for 6 syscalls arguments on amd64. |
|
2071 |
6500 d 4 h |
jermar |
/trunk/ |
(c) versus (C) |
|
1888 |
6625 d 7 h |
jermar |
/trunk/ |
C99 compliant header guards (hopefully) everywhere in the kernel.
Formatting and indentation changes.
Small improvements in sparc64. |
|
1854 |
6641 d 13 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 |
6690 d 6 h |
decky |
/ |
move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot |
|
1780 |
6697 d 7 h |
jermar |
/kernel/trunk/ |
Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.). |
|
1705 |
6717 d 13 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 |
6718 d 10 h |
cejka |
/kernel/trunk/ |
Kernel doxygen comments updated. |
|
1587 |
6726 d 7 h |
jermar |
/kernel/trunk/ |
task_destroy() implementation, fixes in as_destroy() and task_kill().
This is the first version of HelenOS that would perform complete cleanup leading from thread to destruction of address space. |
|
1257 |
6763 d 9 h |
jermar |
/kernel/trunk/arch/ |
Initialize amd64 and ia32 task iomapver generation counter. |
|
1256 |
6763 d 9 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 |
6763 d 13 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. |
|
1201 |
6775 d 8 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 |
6779 d 6 h |
jermar |
/kernel/trunk/arch/ |
Move updating I/O Permission bitmap to before_task_runs_arch(). |
|
1187 |
6779 d 7 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 |
6779 d 9 h |
jermar |
/kernel/trunk/ |
Add task_create_arch() for all architectures. |
|
1184 |
6779 d 10 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. |
|
1172 |
6780 d 14 h |
palkovsky |
/kernel/trunk/arch/amd64/src/proc/ |
Comment update. |
|
1171 |
6780 d 15 h |
jermar |
/kernel/trunk/ |
Initialize ARCH_THREAD_DATA on all architectures.
On ia32 and amd64 this fixes bug caused by uninitialized TLS pointer. |
|
1112 |
6800 d 14 h |
palkovsky |
/kernel/trunk/ |
Added basic kernel infrastructure for ThreadLocalStorage(TLS) for
ia32(complete),amd64(complete),mips32(missing emulation of rdhwr instruction). |
|
1104 |
6801 d 7 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. |
|
1077 |
6806 d 11 h |
palkovsky |
/kernel/trunk/ |
Modified debugger to be able to coexist in AS watch mode and SMP. |
|
1074 |
6806 d 12 h |
palkovsky |
/kernel/trunk/ |
Ported AMD64 debugger to ia32 and enabled AS watchpoint to ia32 as well. |
|
1072 |
6806 d 12 h |
palkovsky |
/kernel/trunk/ |
Added debugger to AMD64.
Added automatic debugging of AS if it is not rewritten with zero.
Did small changes to IPC infrastructure. |
|
897 |
6824 d 0 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. |
|
806 |
6844 d 22 h |
palkovsky |
/kernel/trunk/arch/amd64/ |
Added (finally!) userspace to AMD64.
It does not work on Simics *$U&%&$&*#. Broken simics!!!
There should be probably LEA instead of MOV/ADD, but LEA does not
work in neither qemu nor bochs. Any other simulator to test? :-/ |
|
534 |
6909 d 4 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel again. |
|
532 |
6909 d 5 h |
jermar |
/ |
Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch. |
|
501 |
6921 d 9 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel. |
|
257 |
7001 d 14 h |
palkovsky |
/SPARTAN/trunk/ |
Added basic FPU context (not working).
Added CPU utilities from ia32
Fixed bug in vm.c that wanted PTL to be mapped in bottom memory. |
|