Rev |
Age |
Author |
Path |
Log message |
Diff |
3890 |
5745 d 8 h |
jermar |
/trunk/ |
Get rid of CONFIG_DEBUG_ALLREGS. |
|
3274 |
5933 d 13 h |
jermar |
/trunk/ |
memcpy(), memmove() and similar functions return dst instead of src.
Fix all implementations, including those in assembly. ppc32 assembly
version didn't seem to be affected by this. |
|
3044 |
6002 d 8 h |
jermar |
/trunk/kernel/arch/amd64/ |
Some inline functions in memstr.h seem to be of uncertain origin (amd64).
Replace either with built-in functions or with generic functions. |
|
2784 |
6077 d 7 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 |
6201 d 12 h |
jermar |
/trunk/ |
Support for 6 syscalls arguments on amd64. |
|
2071 |
6504 d 8 h |
jermar |
/trunk/ |
(c) versus (C) |
|
2018 |
6541 d 11 h |
decky |
/trunk/kernel/ |
rename rdtsc() to get_cycle() |
|
1787 |
6694 d 10 h |
decky |
/ |
move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot |
|
1288 |
6761 d 17 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 |
6764 d 10 h |
palkovsky |
/kernel/trunk/ |
Changed interrupt_control to preemption_control. |
|
1212 |
6774 d 10 h |
palkovsky |
/kernel/trunk/ |
Added uspace call to enable/disable interrupts. |
|
1121 |
6804 d 7 h |
jermar |
/kernel/trunk/ |
Small textual changes. |
|
1094 |
6807 d 18 h |
palkovsky |
/kernel/trunk/ |
Allowed saving less registers. |
|
1021 |
6812 d 11 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 |
6814 d 9 h |
palkovsky |
/kernel/trunk/ |
Added kernel IPC functionality. |
|
820 |
6847 d 6 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 |
6848 d 19 h |
palkovsky |
/kernel/trunk/arch/amd64/ |
Doc updates. |
|
806 |
6849 d 2 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 |
6849 d 5 h |
palkovsky |
/kernel/trunk/arch/amd64/ |
Basic amd syscall support. |
|
799 |
6849 d 7 h |
palkovsky |
/kernel/trunk/ |
Preliminary work on AMD userspace. |
|
717 |
6871 d 10 h |
decky |
/kernel/trunk/ |
remove obsolete in-kernel userspace code
remove CONFIG_USERSPACE switch, uspace support is configured at run-time |
|
702 |
6873 d 16 h |
jermar |
/kernel/trunk/arch/amd64/src/ |
Fix amd64 interrupt_handler to properly remove error code from stack before iretq. |
|
576 |
6908 d 3 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. |
|
534 |
6913 d 9 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel again. |
|
532 |
6913 d 9 h |
jermar |
/ |
Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch. |
|
501 |
6925 d 13 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel. |
|
472 |
6938 d 14 h |
jermar |
/SPARTAN/trunk/ |
Changes in build system.
For .S targets, always do -D__ASM__.
Remove unnecessary #define __ASM__ from various *.S files.
At the end of build, generate disassembler dump for kernel.raw.
ia64 work.
Better General Exception handler. |
|
348 |
6995 d 7 h |
jermar |
/SPARTAN/trunk/arch/ |
Optimize some assembler functions. |
|
332 |
6997 d 16 h |
palkovsky |
/SPARTAN/trunk/ |
Updated symtab so that it works correctly with BE architectures.
Changed compiler for BE MIPS to be mips-sgi-irix5, because
mipsel -EB does not behave correctly.
Doc updates to amd64.
Added ARC BIOS support to MIPS architecture. Putchar works correctly,
kernel passed FPU & some rwlock tests. |
|
257 |
7005 d 19 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. |
|
252 |
7005 d 21 h |
palkovsky |
/SPARTAN/trunk/arch/amd64/ |
Added volatile to inb/outb, so that it does not optimeze
lot of things out anymore.
Working delay loop. |
|
251 |
7006 d 4 h |
palkovsky |
/SPARTAN/trunk/ |
Changes, that were needed to make it work on Bochs.
- We CAN use the NX bit in paging tables, but we have
to initialize the NXE bit in EFER register first. |
|
242 |
7006 d 15 h |
palkovsky |
/SPARTAN/trunk/ |
Fixed stack settings in boot.S in real mode.
Added ia32 memmap support.
Added cpuid support. |
|
224 |
7007 d 19 h |
palkovsky |
/SPARTAN/trunk/arch/ |
Interrupts for amd64. |
|