Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
1121 |
6724 d 15 h |
jermar |
/kernel/trunk/ |
Small textual changes. |
|
/kernel/trunk/arch/amd64/include/atomic.h /kernel/trunk/arch/amd64/src/amd64.c /kernel/trunk/arch/amd64/src/asm_utils.S /kernel/trunk/arch/ia32/src/ia32.c /kernel/trunk/arch/ia32/src/userspace.c /kernel/trunk/arch/ia64/src/ia64.c /kernel/trunk/arch/mips32/src/mips32.c /kernel/trunk/generic/src/adt/btree.c
|
1112 |
6725 d 2 h |
palkovsky |
/kernel/trunk/ |
Added basic kernel infrastructure for ThreadLocalStorage(TLS) for
ia32(complete),amd64(complete),mips32(missing emulation of rdhwr instruction). |
|
/kernel/trunk/arch/amd64/include/cpu.h /kernel/trunk/arch/amd64/include/thread.h /kernel/trunk/arch/amd64/src/amd64.c /kernel/trunk/arch/amd64/src/proc/scheduler.c /kernel/trunk/arch/ia32/include/pm.h /kernel/trunk/arch/ia32/include/thread.h /kernel/trunk/arch/ia32/src/ia32.c /kernel/trunk/arch/ia32/src/pm.c /kernel/trunk/arch/ia32/src/proc/scheduler.c /kernel/trunk/arch/ia32/src/userspace.c /kernel/trunk/arch/mips32/src/mips32.c /kernel/trunk/generic/include/syscall/syscall.h /kernel/trunk/generic/src/syscall/syscall.c
|
1072 |
6731 d 1 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. |
|
/kernel/trunk/arch/amd64/include/debugger.h /kernel/trunk/arch/amd64/src/debugger.c /kernel/trunk/generic/include/ipc/ipcrsc.h /kernel/trunk/generic/src/ipc/ipcrsc.c
/kernel/trunk/Makefile /kernel/trunk/arch/amd64/Makefile.inc /kernel/trunk/arch/amd64/include/asm.h /kernel/trunk/arch/amd64/include/cpu.h /kernel/trunk/arch/amd64/include/interrupt.h /kernel/trunk/arch/amd64/src/amd64.c /kernel/trunk/arch/amd64/src/proc/scheduler.c /kernel/trunk/generic/include/ipc/ipc.h /kernel/trunk/generic/src/console/cmd.c /kernel/trunk/generic/src/ipc/ipc.c /kernel/trunk/generic/src/ipc/sysipc.c /kernel/trunk/kernel.config
|
894 |
6748 d 19 h |
jermar |
/kernel/trunk/ |
Move i8042 driver to genarch as it might be used by more architectures. |
|
/kernel/trunk/arch/amd64/include/drivers /kernel/trunk/arch/ia32/include/drivers /kernel/trunk/arch/ia32/include/drivers/i8042.h /kernel/trunk/arch/sparc64/include/drivers/keyboard.h /kernel/trunk/genarch/include/i8042 /kernel/trunk/genarch/include/i8042/i8042.h /kernel/trunk/genarch/src/i8042 /kernel/trunk/genarch/src/i8042/i8042.c
/kernel/trunk/arch/ia32/include/i8042.h /kernel/trunk/arch/ia32/src/drivers/i8042.c
/kernel/trunk/arch/amd64/Makefile.inc /kernel/trunk/arch/amd64/src/amd64.c /kernel/trunk/arch/ia32/Makefile.inc /kernel/trunk/arch/ia32/src/ia32.c /kernel/trunk/arch/sparc64/src/console.c /kernel/trunk/arch/sparc64/src/mm/tlb.c /kernel/trunk/genarch/Makefile.inc
|
825 |
6766 d 19 h |
jermar |
/kernel/trunk/ |
Remove WAKEUP_IPI stuff.
Make it possible to use PAGE_GLOBAL on ia32, amd64 and mips32.
Make ia32 and amd64 map the kernel using PAGE_GLOBAL. |
|
/kernel/trunk/arch/amd64/include/interrupt.h /kernel/trunk/arch/amd64/include/mm/page.h /kernel/trunk/arch/amd64/src/amd64.c /kernel/trunk/arch/amd64/src/interrupt.c /kernel/trunk/arch/amd64/src/mm/page.c /kernel/trunk/arch/ia32/include/interrupt.h /kernel/trunk/arch/ia32/include/mm/page.h /kernel/trunk/arch/ia32/src/ia32.c /kernel/trunk/arch/ia32/src/interrupt.c /kernel/trunk/arch/ia32/src/mm/page.c /kernel/trunk/arch/mips32/include/mm/page.h /kernel/trunk/contrib/conf/msim.conf
|
803 |
6769 d 13 h |
palkovsky |
/kernel/trunk/arch/amd64/ |
Basic amd syscall support. |
|
/kernel/trunk/arch/amd64/include/syscall.h /kernel/trunk/arch/amd64/src/syscall.c
/kernel/trunk/arch/amd64/Makefile.inc /kernel/trunk/arch/amd64/include/asm.h /kernel/trunk/arch/amd64/include/cpu.h /kernel/trunk/arch/amd64/include/pm.h /kernel/trunk/arch/amd64/src/amd64.c /kernel/trunk/arch/amd64/src/asm_utils.S /kernel/trunk/arch/amd64/src/pm.c
|
799 |
6769 d 15 h |
palkovsky |
/kernel/trunk/ |
Preliminary work on AMD userspace. |
|
/kernel/trunk/arch/amd64/include/interrupt.h
/kernel/trunk/arch/amd64/include/context.h /kernel/trunk/arch/amd64/include/context_offset.h /kernel/trunk/arch/amd64/include/cpu.h /kernel/trunk/arch/amd64/src/amd64.c /kernel/trunk/arch/amd64/src/asm_utils.S /kernel/trunk/arch/amd64/src/interrupt.c /kernel/trunk/arch/amd64/src/mm/page.c /kernel/trunk/arch/amd64/src/pm.c /kernel/trunk/arch/mips32/src/exception.c /kernel/trunk/generic/src/main/main.c /kernel/trunk/tools/amd64/gencontext.c
|
576 |
6828 d 11 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. |
|
/kernel/trunk/Makefile /kernel/trunk/arch/amd64/src/amd64.c /kernel/trunk/arch/amd64/src/asm_utils.S /kernel/trunk/arch/amd64/src/interrupt.c /kernel/trunk/arch/amd64/src/mm/page.c /kernel/trunk/arch/amd64/src/pm.c /kernel/trunk/arch/ia32/include/i8042.h /kernel/trunk/arch/ia32/include/i8254.h /kernel/trunk/arch/ia32/include/i8259.h /kernel/trunk/arch/ia32/include/interrupt.h /kernel/trunk/arch/ia32/include/smp/apic.h /kernel/trunk/arch/ia32/src/asm.S /kernel/trunk/arch/ia32/src/drivers/i8042.c /kernel/trunk/arch/ia32/src/drivers/i8254.c /kernel/trunk/arch/ia32/src/drivers/i8259.c /kernel/trunk/arch/ia32/src/ia32.c /kernel/trunk/arch/ia32/src/interrupt.c /kernel/trunk/arch/ia32/src/mm/page.c /kernel/trunk/arch/ia32/src/pm.c /kernel/trunk/arch/ia32/src/smp/apic.c
|
534 |
6833 d 17 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel again. |
|
/kernel
/SPARTAN
|
532 |
6833 d 17 h |
jermar |
/ |
Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch. |
|
/SPARTAN
/kernel
|
512 |
6844 d 23 h |
jermar |
/kernel/trunk/ |
SMP work.
Add madt_irq_to_pin().
Make ksmp() use virtual irq_to_pin() function, which makes better sence for ACPI configurations. |
|
/kernel/trunk/arch/amd64/src/amd64.c /kernel/trunk/arch/ia32/include/smp/apic.h /kernel/trunk/arch/ia32/include/smp/mps.h /kernel/trunk/arch/ia32/include/smp/smp.h /kernel/trunk/arch/ia32/src/drivers/i8042.c /kernel/trunk/arch/ia32/src/ia32.c /kernel/trunk/arch/ia32/src/smp/apic.c /kernel/trunk/arch/ia32/src/smp/mps.c /kernel/trunk/arch/ia32/src/smp/smp.c /kernel/trunk/genarch/src/acpi/matd.c /kernel/trunk/generic/src/main/kconsole.c /kernel/trunk/generic/src/main/kinit.c /kernel/trunk/generic/src/main/main.c
|
511 |
6845 d 12 h |
jermar |
/kernel/trunk/ |
Enable dummy kconsole for ia32 and amd64 (UP mode works). |
|
/kernel/trunk/arch/amd64/src/amd64.c /kernel/trunk/arch/ia32/src/drivers/i8042.c /kernel/trunk/arch/mips32/src/drivers/keyboard.c /kernel/trunk/generic/include/console/chardev.h /kernel/trunk/generic/src/console/chardev.c /kernel/trunk/generic/src/console/console.c
|
503 |
6845 d 20 h |
jermar |
/kernel/trunk/ |
Rename arch_late_init() to arch_pre_smp_init().
Add arch_post_smp_init().
Enable IRQ_KBD on ia-32 (doesn't work on Bochs SMP, works on Bochs UP). |
|
/kernel/trunk/arch/amd64/src/amd64.c /kernel/trunk/arch/ia32/src/ia32.c /kernel/trunk/arch/ia64/src/dummy.s /kernel/trunk/arch/ia64/src/ia64.c /kernel/trunk/arch/mips32/src/mips32.c /kernel/trunk/arch/ppc32/src/ppc32.c /kernel/trunk/arch/sparc64/src/sparc64.c /kernel/trunk/generic/include/arch.h /kernel/trunk/generic/src/main/main.c
|
501 |
6845 d 21 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel. |
|
/kernel
/SPARTAN
|
458 |
6860 d 0 h |
decky |
/SPARTAN/trunk/ |
make configuration variables usage consistent |
|
/SPARTAN/trunk/Makefile /SPARTAN/trunk/arch/amd64/Makefile.inc /SPARTAN/trunk/arch/amd64/src/amd64.c /SPARTAN/trunk/arch/amd64/src/interrupt.c /SPARTAN/trunk/arch/amd64/src/smp/ap.S /SPARTAN/trunk/arch/ia32/Makefile.inc /SPARTAN/trunk/arch/ia32/include/atomic.h /SPARTAN/trunk/arch/ia32/src/atomic.S /SPARTAN/trunk/arch/ia32/src/ia32.c /SPARTAN/trunk/arch/ia32/src/interrupt.c /SPARTAN/trunk/arch/ia32/src/smp/ap.S /SPARTAN/trunk/arch/ia32/src/smp/apic.c /SPARTAN/trunk/arch/ia32/src/smp/ipi.c /SPARTAN/trunk/arch/ia32/src/smp/mps.c /SPARTAN/trunk/arch/ia32/src/smp/smp.c /SPARTAN/trunk/arch/mips32/Makefile.inc /SPARTAN/trunk/arch/mips32/src/exception.c /SPARTAN/trunk/genarch/src/acpi/matd.c /SPARTAN/trunk/generic/include/cpu.h /SPARTAN/trunk/generic/include/mm/tlb.h /SPARTAN/trunk/generic/include/smp/ipi.h /SPARTAN/trunk/generic/include/smp/smp.h /SPARTAN/trunk/generic/include/synch/spinlock.h /SPARTAN/trunk/generic/src/cpu/cpu.c /SPARTAN/trunk/generic/src/main/kinit.c /SPARTAN/trunk/generic/src/main/main.c /SPARTAN/trunk/generic/src/mm/tlb.c /SPARTAN/trunk/generic/src/proc/scheduler.c /SPARTAN/trunk/generic/src/smp/ipi.c /SPARTAN/trunk/generic/src/synch/spinlock.c
|
452 |
6860 d 16 h |
decky |
/SPARTAN/trunk/ |
major build system revision (unfinished)
this patchset most definitively breaks a lot of things, be patient |
|
/SPARTAN/trunk/clean /SPARTAN/trunk/genarch/include/acpi /SPARTAN/trunk/genarch/include/acpi/acpi.h /SPARTAN/trunk/genarch/include/acpi/madt.h /SPARTAN/trunk/genarch/src/acpi /SPARTAN/trunk/genarch/src/acpi/acpi.c /SPARTAN/trunk/genarch/src/acpi/matd.c
/SPARTAN/trunk/build.amd64 /SPARTAN/trunk/build.ia64 /SPARTAN/trunk/build.mips32 /SPARTAN/trunk/build.ppc32 /SPARTAN/trunk/build.sparc64 /SPARTAN/trunk/clean.amd64 /SPARTAN/trunk/clean.ia32 /SPARTAN/trunk/clean.ia64 /SPARTAN/trunk/clean.mips32 /SPARTAN/trunk/clean.ppc32 /SPARTAN/trunk/clean.sparc64 /SPARTAN/trunk/genarch/include/firmware/acpi /SPARTAN/trunk/genarch/src/firmware/acpi
/SPARTAN/trunk/Makefile /SPARTAN/trunk/Makefile.config /SPARTAN/trunk/arch/amd64/src/amd64.c /SPARTAN/trunk/arch/ia32/Makefile.inc /SPARTAN/trunk/arch/ia32/include/ega.h /SPARTAN/trunk/arch/ia32/src/cpu/cpu.c /SPARTAN/trunk/arch/ia32/src/drivers/ega.c /SPARTAN/trunk/arch/ia32/src/ia32.c /SPARTAN/trunk/arch/ia32/src/smp/smp.c /SPARTAN/trunk/genarch/Makefile.inc /SPARTAN/trunk/generic/include/print.h /SPARTAN/trunk/generic/include/proc/scheduler.h /SPARTAN/trunk/generic/include/proc/thread.h /SPARTAN/trunk/generic/src/debug/print.c /SPARTAN/trunk/generic/src/main/kinit.c /SPARTAN/trunk/generic/src/proc/scheduler.c /SPARTAN/trunk/generic/src/proc/thread.c
|
422 |
6873 d 3 h |
jermar |
/SPARTAN/trunk/ |
Move ACPI code to genarch.
Enable it for ia32, amd64 and ia64.
For now, ia64 support is commented out. |
|
/SPARTAN/trunk/genarch/include/firmware/acpi /SPARTAN/trunk/genarch/include/firmware/acpi/acpi.h /SPARTAN/trunk/genarch/include/firmware/acpi/madt.h /SPARTAN/trunk/genarch/src/firmware/acpi /SPARTAN/trunk/genarch/src/firmware/acpi/acpi.c /SPARTAN/trunk/genarch/src/firmware/acpi/madt.c
/SPARTAN/trunk/arch/ia32/include/acpi /SPARTAN/trunk/arch/ia32/src/acpi
/SPARTAN/trunk/arch/amd64/Makefile.inc /SPARTAN/trunk/arch/amd64/src/amd64.c /SPARTAN/trunk/arch/ia32/Makefile.inc /SPARTAN/trunk/arch/ia32/src/ia32.c /SPARTAN/trunk/arch/ia32/src/smp/smp.c /SPARTAN/trunk/build.amd64 /SPARTAN/trunk/genarch/Makefile.inc
|
282 |
6925 d 4 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. |
|
/SPARTAN/trunk/arch/amd64/src/fpu_context.c
/SPARTAN/trunk/arch/amd64/include/fpu_context.h
/SPARTAN/trunk/arch/amd64/_link.ld /SPARTAN/trunk/arch/amd64/include/asm.h /SPARTAN/trunk/arch/amd64/include/context.h /SPARTAN/trunk/arch/amd64/include/cpu.h /SPARTAN/trunk/arch/amd64/include/cpuid.h /SPARTAN/trunk/arch/amd64/include/pm.h /SPARTAN/trunk/arch/amd64/src/amd64.c /SPARTAN/trunk/arch/amd64/src/boot/boot.S /SPARTAN/trunk/arch/amd64/src/cpu/cpu.c /SPARTAN/trunk/arch/amd64/src/interrupt.c /SPARTAN/trunk/arch/amd64/src/smp/ap.S /SPARTAN/trunk/arch/ia32/include/fpu_context.h /SPARTAN/trunk/arch/ia32/src/fpu_context.c /SPARTAN/trunk/src/build.amd64
|
265 |
6925 d 23 h |
palkovsky |
/SPARTAN/trunk/ |
Added basic FPU context (not working).
Added CPU utilities from ia32 |
|
/SPARTAN/trunk/arch/amd64/Makefile.inc /SPARTAN/trunk/arch/amd64/src/amd64.c /SPARTAN/trunk/include/mm/heap.h /SPARTAN/trunk/src/build.amd64
|
252 |
6926 d 5 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. |
|
/SPARTAN/trunk/arch/amd64/include/asm.h /SPARTAN/trunk/arch/amd64/src/amd64.c /SPARTAN/trunk/arch/amd64/src/asm_utils.S /SPARTAN/trunk/arch/amd64/src/delay.S /SPARTAN/trunk/arch/amd64/src/dummy.s
|