Rev |
Age |
Author |
Path |
Log message |
Diff |
3343 |
5972 d 10 h |
decky |
/branches/sparc/ |
add sparc branch |
|
2784 |
6125 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. |
|
2725 |
6167 d 13 h |
decky |
/trunk/kernel/ |
remove config.memory_size, get_memory_size() and memory_init.{c|d}
the amount of available memory can be calculated from the sizes of the zones
add FRAMES2SIZE, SIZE2KB and SIZE2MB functions/macros (code readability) |
|
2713 |
6172 d 12 h |
decky |
/trunk/kernel/arch/amd64/src/boot/ |
remove fake tab |
|
2703 |
6179 d 10 h |
jermar |
/trunk/kernel/arch/amd64/ |
Grow the initial identity mapping from 64M to 4G.
We should not allocate GDT's from above 4G or the amd64 will occassionally
triple-fault again. |
|
2692 |
6193 d 9 h |
decky |
/trunk/kernel/arch/amd64/ |
move cpuid tests from amd64.c to boot.S |
|
2302 |
6445 d 9 h |
decky |
/trunk/ |
force VGA palette to 3:2:3 palette on 8 bpp modes
(this fixes ticket #33) |
|
2222 |
6471 d 6 h |
decky |
/trunk/kernel/ |
map kernel pages explicitly as writable (this solves compatibility issues with Intel Core 2)
make VESA framebuffer initialization more robust |
|
2219 |
6471 d 9 h |
decky |
/trunk/kernel/arch/amd64/src/boot/ |
add error message on no long mode support |
|
2071 |
6552 d 6 h |
jermar |
/trunk/ |
(c) versus (C) |
|
1787 |
6742 d 9 h |
decky |
/ |
move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot |
|
1641 |
6776 d 17 h |
decky |
/kernel/trunk/arch/ |
port VESA VBE changes to AMD64 |
|
1291 |
6809 d 13 h |
vana |
/kernel/trunk/arch/amd64/src/boot/ |
VESA detection failure fix on amd64 |
|
1289 |
6809 d 13 h |
vana |
/kernel/trunk/arch/ |
Amd64 framebuffer |
|
1063 |
6859 d 3 h |
palkovsky |
/kernel/trunk/ |
Add support for more then 2GB of address space for AMD64. |
|
1052 |
6859 d 10 h |
decky |
/kernel/trunk/arch/amd64/src/boot/ |
fix wrong structure members size assumption |
|
1039 |
6859 d 15 h |
decky |
/kernel/trunk/arch/ |
update for the use of more init tasks |
|
1037 |
6859 d 15 h |
decky |
/kernel/trunk/ |
support for more init tasks
(might break some archs yet) |
|
820 |
6895 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. |
|
807 |
6896 d 18 h |
palkovsky |
/kernel/trunk/arch/amd64/src/boot/ |
I'm unsure if simics is broken or the only one according to spec,
but SYSCALL now works even with simics. |
|
798 |
6897 d 6 h |
decky |
/kernel/trunk/arch/amd64/src/boot/ |
fix init_addr virtual address |
|
696 |
6926 d 7 h |
decky |
/kernel/trunk/arch/amd64/ |
AMD64 SMP boots again |
|
695 |
6926 d 8 h |
decky |
/kernel/trunk/arch/amd64/ |
make AMD64 boot again (using grub, see /boot tree), SMP is still broken |
|
694 |
6926 d 9 h |
decky |
/kernel/trunk/arch/amd64/ |
break AMD64, will be fixed soon |
|
685 |
6926 d 12 h |
decky |
/kernel/trunk/arch/amd64/ |
AMD64 PM initialization |
|
680 |
6930 d 4 h |
decky |
/kernel/trunk/arch/ |
remove deprecated pre-grub stuff on ia32
prepare for the same on amd64 |
|
534 |
6961 d 7 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel again. |
|
532 |
6961 d 8 h |
jermar |
/ |
Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch. |
|
501 |
6973 d 12 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel. |
|
472 |
6986 d 13 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. |
|
417 |
7007 d 12 h |
palkovsky |
/SPARTAN/trunk/arch/amd64/src/boot/ |
Added identity mapping for more then 16MB - now it maps 64MB on boot. |
|
406 |
7014 d 6 h |
jermar |
/SPARTAN/trunk/arch/ |
Fix directives for K_TEXT_START, K_TEXT_START_2 and K_DATA_START sections to be more descriptive about section's content.
Remove LOAD(0xdeadbeaf) from ia32 linker script.
Remove __fake from amd64 pm.c. |
|
347 |
7043 d 7 h |
jermar |
/SPARTAN/trunk/ |
Documentation updates for amd64, mips32 and ia32.
Replace %L with %P printf() formatter in MPS and ACPI detection functions to print addresses in maximal width.
Tweak memmap.S and IA-32 and AMd64 boot.S.
Cancel unneeded instructions.
Replace cmpl $0, %ebx with testl %ebx, %ebx.
Move memmap.S data to K_DATA_START section. |
|
293 |
7052 d 3 h |
palkovsky |
/SPARTAN/trunk/ |
Symbol table now contains static functions too.
NOTE: gcc heavily inlines, be aware of optimizations.
Removed excesive item from boot page tables. |
|
288 |
7052 d 9 h |
jermar |
/SPARTAN/trunk/ |
Create tools/ directory.
Move helper scripts and tools out of src/ and arch/. |
|
282 |
7052 d 19 h |
palkovsky |
/SPARTAN/trunk/ |
Fixed gdtr naming issues after ia32 changes.
Fixed stack alignment on new thread to by multiple of 16,
we are now ABI-correct and we do not #GP on va_arg to boot.
Fixed bad exception register names reporting.
Fixed bad _hardcoded_load_addr, which caused allocation of kernel text
frames. |
|
277 |
7053 d 6 h |
palkovsky |
/SPARTAN/trunk/arch/ |
Reverted APIC mapping back to identity mapping.
Added AMD64 SMP support. Works now! |
|
275 |
7053 d 7 h |
palkovsky |
/SPARTAN/trunk/arch/ |
Moved AMD64 kernel above 1MB. |
|
273 |
7053 d 8 h |
palkovsky |
/SPARTAN/trunk/ |
Changes to make ia32 smp code not architecture dependent.
Changes to accomodate new gdtr loading scheme. |
|
251 |
7054 d 3 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. |
|