Rev |
Age |
Author |
Path |
Log message |
Diff |
2784 |
6001 d 6 h |
jermar |
/trunk/kernel/arch/ |
Fortify ia32 and amd64 kernels against mallicious uspace applications that set
DF prior to entering the kernel. For AMD64 syscalls, we don't use the CLD
instruction, but make use of the SFMASK MSR instead. Simics works fine with
it, but QEMU seems to have a problem. |
|
2606 |
6125 d 11 h |
jermar |
/trunk/ |
Support for 6 syscalls arguments on amd64. |
|
2071 |
6428 d 6 h |
jermar |
/trunk/ |
(c) versus (C) |
|
2018 |
6465 d 9 h |
decky |
/trunk/kernel/ |
rename rdtsc() to get_cycle() |
|
1787 |
6618 d 9 h |
decky |
/ |
move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot |
|
1288 |
6685 d 15 h |
jermar |
/kernel/trunk/ |
Complete implementation of copy_from_uspace() and copy_to_uspace()
for amd64 and ia32. Other architectures still compile and run,
but need to implement their own assembly-only memcpy(), memcpy_from_uspace(),
memcpy_to_uspace() and their failover parts. For these architectures
only dummy implementations are provided. |
|
1278 |
6688 d 9 h |
palkovsky |
/kernel/trunk/ |
Changed interrupt_control to preemption_control. |
|
1212 |
6698 d 9 h |
palkovsky |
/kernel/trunk/ |
Added uspace call to enable/disable interrupts. |
|
1121 |
6728 d 6 h |
jermar |
/kernel/trunk/ |
Small textual changes. |
|
1094 |
6731 d 16 h |
palkovsky |
/kernel/trunk/ |
Allowed saving less registers. |
|
1021 |
6736 d 9 h |
jermar |
/kernel/trunk/ |
Hopefully final version of interrupt handlers for amd64 and ia32.
amd64 has been especially tricky to debug.
Error code detection is now done in compile time. |
|
955 |
6738 d 7 h |
palkovsky |
/kernel/trunk/ |
Added kernel IPC functionality. |
|
820 |
6771 d 5 h |
jermar |
/kernel/trunk/ |
Convert size_t, count_t and index_t to 64-bits on 64-bit architectures.
Change some pfn_t usages to count_t, size_t and index_t. |
|
808 |
6772 d 17 h |
palkovsky |
/kernel/trunk/arch/amd64/ |
Doc updates. |
|
806 |
6773 d 1 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? :-/ |
|
803 |
6773 d 3 h |
palkovsky |
/kernel/trunk/arch/amd64/ |
Basic amd syscall support. |
|
799 |
6773 d 6 h |
palkovsky |
/kernel/trunk/ |
Preliminary work on AMD userspace. |
|
717 |
6795 d 8 h |
decky |
/kernel/trunk/ |
remove obsolete in-kernel userspace code
remove CONFIG_USERSPACE switch, uspace support is configured at run-time |
|
702 |
6797 d 15 h |
jermar |
/kernel/trunk/arch/amd64/src/ |
Fix amd64 interrupt_handler to properly remove error code from stack before iretq. |
|
576 |
6832 d 2 h |
palkovsky |
/kernel/trunk/ |
Changed ia32 & amd64 to use exc_register instead of trap_register.
Fixed dependency list building. I hope you all have 'makedepend' installed,
if you don't it's time to install it, as CC -M builds the dependency
list without directory names..and it just does not work. |
|