Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
514 |
6845 d 12 h |
jermar |
/kernel/trunk/arch/ia32/ |
More SMP cleanup.
Suddenly, keyboard started to work on SMP under Simics.
Still not functional on Bochs (will consult Bochs people).
Doxygen style comments for apic.c. |
|
/kernel/trunk/arch/ia32/include/smp/apic.h /kernel/trunk/arch/ia32/src/drivers/i8254.c /kernel/trunk/arch/ia32/src/ia32.c /kernel/trunk/arch/ia32/src/smp/apic.c
|
512 |
6845 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
|
503 |
6846 d 21 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 |
6846 d 22 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel. |
|
/kernel
/SPARTAN
|
458 |
6861 d 1 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 |
6861 d 17 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 |
6874 d 4 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
|
392 |
6894 d 17 h |
bondari |
/SPARTAN/trunk/arch/ia32/ |
Last inline functions for IA-32 |
|
/SPARTAN/trunk/arch/ia32/include/memstr.h /SPARTAN/trunk/arch/ia32/src/asm.S /SPARTAN/trunk/arch/ia32/src/ia32.c
|
267 |
6926 d 21 h |
decky |
/SPARTAN/trunk/arch/ia32/ |
proper way of initializing GDT during boot on IA-32, fixes the nasty hack
SMP might be still broken |
|
/SPARTAN/trunk/arch/ia32/_link.ld /SPARTAN/trunk/arch/ia32/include/boot/boot.h /SPARTAN/trunk/arch/ia32/src/boot/boot.S /SPARTAN/trunk/arch/ia32/src/ia32.c /SPARTAN/trunk/arch/ia32/src/mm/frame.c /SPARTAN/trunk/arch/ia32/src/pm.c /SPARTAN/trunk/arch/ia32/src/smp/ap.S
|
235 |
6928 d 20 h |
decky |
/SPARTAN/trunk/ |
load the kernel above 1 MB on IA-32 |
|
/SPARTAN/trunk/arch/ia32/_link.ld /SPARTAN/trunk/arch/ia32/include/boot/boot.h /SPARTAN/trunk/arch/ia32/src/boot/boot.S /SPARTAN/trunk/arch/ia32/src/drivers/i8042.c /SPARTAN/trunk/arch/ia32/src/ia32.c /SPARTAN/trunk/arch/ia32/src/mm/frame.c /SPARTAN/trunk/arch/ia32/src/mm/page.c /SPARTAN/trunk/src/main/main.c
|
195 |
6930 d 17 h |
vana |
/SPARTAN/trunk/ |
1) memcopy and _memcopy functions rewriten to ANSI C norm.
2) Repaired ia32,ia64 and mips version of SPARTAN to work with this memcopy functions
3) Warning for non declared funcions added and repaired ia32,ia64 and mips versions to pass build process with this warning and Werror option |
|
/SPARTAN/trunk/test/thread /SPARTAN/trunk/test/thread/thread1 /SPARTAN/trunk/test/thread/thread1/test.c
/SPARTAN/trunk/arch/amd64/Makefile.inc /SPARTAN/trunk/arch/ia32/Makefile.inc /SPARTAN/trunk/arch/ia32/include/asm.h /SPARTAN/trunk/arch/ia32/src/acpi/acpi.c /SPARTAN/trunk/arch/ia32/src/acpi/madt.c /SPARTAN/trunk/arch/ia32/src/drivers/ega.c /SPARTAN/trunk/arch/ia32/src/drivers/i8254.c /SPARTAN/trunk/arch/ia32/src/drivers/i8259.c /SPARTAN/trunk/arch/ia32/src/ia32.c /SPARTAN/trunk/arch/ia32/src/mm/memory_init.c /SPARTAN/trunk/arch/ia32/src/mm/page.c /SPARTAN/trunk/arch/ia32/src/pm.c /SPARTAN/trunk/arch/ia32/src/smp/mps.c /SPARTAN/trunk/arch/ia32/src/smp/smp.c /SPARTAN/trunk/arch/ia64/Makefile.inc /SPARTAN/trunk/arch/ia64/include/asm.h /SPARTAN/trunk/arch/mips/Makefile.inc /SPARTAN/trunk/arch/mips/include/asm.h /SPARTAN/trunk/arch/mips/src/cpu/cpu.c /SPARTAN/trunk/arch/mips/src/exception.c /SPARTAN/trunk/arch/mips/src/mm/page.c /SPARTAN/trunk/arch/mips/src/mm/tlb.c /SPARTAN/trunk/arch/ppc/Makefile.inc /SPARTAN/trunk/include/cpu.h /SPARTAN/trunk/include/memstr.h /SPARTAN/trunk/src/Makefile.config /SPARTAN/trunk/src/debug/print.c /SPARTAN/trunk/src/lib/memstr.c /SPARTAN/trunk/src/main/kinit.c /SPARTAN/trunk/src/main/uinit.c /SPARTAN/trunk/src/mm/frame.c /SPARTAN/trunk/src/mm/heap.c /SPARTAN/trunk/src/mm/page.c /SPARTAN/trunk/src/mm/vm.c /SPARTAN/trunk/src/proc/scheduler.c /SPARTAN/trunk/src/proc/thread.c /SPARTAN/trunk/src/synch/semaphore.c /SPARTAN/trunk/src/synch/spinlock.c
|
192 |
6930 d 19 h |
jermar |
/SPARTAN/trunk/ |
Dump implementation of THREAD, TASK and CPU.
Implement preemption-safe versions of THREAD, TASK and CPU using THE.
Get rid of CPU_ID_ARCH on all architectures.
Get rid of write_dr0() and read_dr0() on IA-32.
Get rid of cpu_private_data and cpu_private_data_t. |
|
/SPARTAN/trunk/arch/amd64/include/cpu.h /SPARTAN/trunk/arch/ia32/include/asm.h /SPARTAN/trunk/arch/ia32/include/cpu.h /SPARTAN/trunk/arch/ia32/src/ia32.c /SPARTAN/trunk/arch/ia64/include/cpu.h /SPARTAN/trunk/arch/mips/include/cpu.h /SPARTAN/trunk/arch/ppc/include/cpu.h /SPARTAN/trunk/include/arch.h /SPARTAN/trunk/include/cpu.h /SPARTAN/trunk/src/Makefile.config /SPARTAN/trunk/src/cpu/cpu.c /SPARTAN/trunk/src/main/main.c /SPARTAN/trunk/src/proc/scheduler.c
|
187 |
6931 d 0 h |
cejka |
/SPARTAN/trunk/ |
Licence to print1/test.c added.
New function for printing memory map at ia32. |
|
/SPARTAN/trunk/arch/ia32/include/mm/memory_init.h /SPARTAN/trunk/arch/ia32/src/ia32.c /SPARTAN/trunk/arch/ia32/src/mm/frame.c /SPARTAN/trunk/arch/ia32/src/mm/memory_init.c /SPARTAN/trunk/test/print/print1/test.c
|
125 |
6976 d 15 h |
jermar |
/SPARTAN/trunk/ |
Huge indentation fix. |
|
/SPARTAN/trunk/arch/ia32/boot/boot.S /SPARTAN/trunk/arch/ia32/boot/boot.ld /SPARTAN/trunk/arch/ia32/include/cpu.h /SPARTAN/trunk/arch/ia32/src/acpi/acpi.c /SPARTAN/trunk/arch/ia32/src/asm.s /SPARTAN/trunk/arch/ia32/src/boot/boot.S /SPARTAN/trunk/arch/ia32/src/context.s /SPARTAN/trunk/arch/ia32/src/cpu/cpu.c /SPARTAN/trunk/arch/ia32/src/cpuid.s /SPARTAN/trunk/arch/ia32/src/drivers/ega.c /SPARTAN/trunk/arch/ia32/src/drivers/i8254.c /SPARTAN/trunk/arch/ia32/src/drivers/i8259.c /SPARTAN/trunk/arch/ia32/src/fpu_context.c /SPARTAN/trunk/arch/ia32/src/ia32.c /SPARTAN/trunk/arch/ia32/src/interrupt.c /SPARTAN/trunk/arch/ia32/src/mm/frame.c /SPARTAN/trunk/arch/ia32/src/mm/page.c /SPARTAN/trunk/arch/ia32/src/pm.c /SPARTAN/trunk/arch/ia32/src/proc/scheduler.c /SPARTAN/trunk/arch/ia32/src/smp/apic.c /SPARTAN/trunk/arch/ia32/src/smp/mps.c /SPARTAN/trunk/arch/ia32/src/userspace.c /SPARTAN/trunk/arch/ia64/_link.ld /SPARTAN/trunk/arch/ia64/boot/_link.ld /SPARTAN/trunk/arch/ia64/include/mm/page.h /SPARTAN/trunk/arch/mips/_link.ld /SPARTAN/trunk/arch/mips/boot/boot.s /SPARTAN/trunk/arch/mips/include/context.h /SPARTAN/trunk/arch/mips/include/cpu.h /SPARTAN/trunk/arch/mips/include/mm/page.h /SPARTAN/trunk/arch/mips/src/cpu/cpu.c /SPARTAN/trunk/arch/mips/src/interrupt.c /SPARTAN/trunk/arch/mips/src/mips.c /SPARTAN/trunk/arch/mips/src/start.S /SPARTAN/trunk/arch/powerpc/_link.ld /SPARTAN/trunk/include/mm/page.h /SPARTAN/trunk/include/proc/thread.h /SPARTAN/trunk/include/stackarg.h /SPARTAN/trunk/include/synch/semaphore.h /SPARTAN/trunk/include/synch/waitq.h /SPARTAN/trunk/include/time/timeout.h /SPARTAN/trunk/src/cpu/cpu.c /SPARTAN/trunk/src/main/kinit.c /SPARTAN/trunk/src/mm/frame.c /SPARTAN/trunk/src/mm/page.c /SPARTAN/trunk/src/proc/scheduler.c /SPARTAN/trunk/src/proc/thread.c /SPARTAN/trunk/src/time/clock.c /SPARTAN/trunk/src/time/timeout.c /SPARTAN/trunk/test/fpu/fpu1/test.c
|
72 |
7041 d 17 h |
decky |
/SPARTAN/trunk/ |
size_t usage
const qualifier
code cleanup |
|
/SPARTAN/trunk/arch/ia32/src/ia32.c /SPARTAN/trunk/arch/ia32/src/smp/mps.c /SPARTAN/trunk/include/func.h /SPARTAN/trunk/include/memstr.h /SPARTAN/trunk/include/mm/heap.h /SPARTAN/trunk/include/mm/vm.h /SPARTAN/trunk/src/lib/func.c /SPARTAN/trunk/src/lib/memstr.c /SPARTAN/trunk/src/mm/heap.c /SPARTAN/trunk/src/mm/vm.c
|
38 |
7049 d 18 h |
jermar |
/SPARTAN/trunk/arch/ia32/ |
Make read/write_dr0() inlined. |
|
/SPARTAN/trunk/arch/ia32/include/asm.h /SPARTAN/trunk/arch/ia32/include/cpu.h /SPARTAN/trunk/arch/ia32/src/ia32.c
|
34 |
7052 d 20 h |
jermar |
/SPARTAN/trunk/ |
More ACPI work.
Initial MADT table parsing.
SMP renaming and reorganization to reflect there are more ways to bring SMP up. |
|
/SPARTAN/trunk/arch/ia32/include/smp/mps.h /SPARTAN/trunk/arch/ia32/src/smp/mps.c /SPARTAN/trunk/arch/ia32/src/smp/smp.c /SPARTAN/trunk/include/smp/smp.h
/SPARTAN/trunk/arch/ia32/include/smp/mp.h /SPARTAN/trunk/arch/ia32/src/smp/mp.c
/SPARTAN/trunk/arch/ia32/Makefile.inc /SPARTAN/trunk/arch/ia32/include/acpi/madt.h /SPARTAN/trunk/arch/ia32/src/acpi/acpi.c /SPARTAN/trunk/arch/ia32/src/acpi/madt.c /SPARTAN/trunk/arch/ia32/src/ia32.c /SPARTAN/trunk/arch/ia32/src/mm/page.c /SPARTAN/trunk/arch/ia32/src/smp/apic.c /SPARTAN/trunk/src/Makefile /SPARTAN/trunk/src/Makefile.config /SPARTAN/trunk/src/main/kinit.c /SPARTAN/trunk/src/main/main.c
|
32 |
7055 d 16 h |
jermar |
/SPARTAN/trunk/ |
ACPI detection code.
MP detection code rewrite.
Minor changes. |
|
/SPARTAN/trunk/arch/ia32/include/acpi/acpi.h /SPARTAN/trunk/arch/ia32/src/acpi/acpi.c /SPARTAN/trunk/arch/ia32/src/ia32.c /SPARTAN/trunk/arch/ia32/src/smp/mp.c /SPARTAN/trunk/arch/mips/src/mips.c /SPARTAN/trunk/include/arch.h /SPARTAN/trunk/include/func.h /SPARTAN/trunk/src/lib/func.c /SPARTAN/trunk/src/main/kinit.c /SPARTAN/trunk/src/main/main.c /SPARTAN/trunk/src/mm/tlb.c
|
30 |
7057 d 3 h |
jermar |
/SPARTAN/trunk/arch/ia32/ |
Separate EBDA detection from MP Specification code. EBDA address will be needed during ACPI initialization. |
|
/SPARTAN/trunk/arch/ia32/include/bios /SPARTAN/trunk/arch/ia32/include/bios/bios.h /SPARTAN/trunk/arch/ia32/src/bios /SPARTAN/trunk/arch/ia32/src/bios/bios.c
/SPARTAN/trunk/arch/ia32/Makefile.inc /SPARTAN/trunk/arch/ia32/src/ia32.c /SPARTAN/trunk/arch/ia32/src/smp/mp.c
|
29 |
7057 d 20 h |
jermar |
/SPARTAN/trunk/arch/ia32/ |
Begin ACPI support.
ACPI support will be necessary for initialization of SMP systems with SMT (HyperThreading). |
|
/SPARTAN/trunk/arch/ia32/include/acpi /SPARTAN/trunk/arch/ia32/include/acpi/acpi.h /SPARTAN/trunk/arch/ia32/include/acpi/madt.h /SPARTAN/trunk/arch/ia32/src/acpi /SPARTAN/trunk/arch/ia32/src/acpi/acpi.c
/SPARTAN/trunk/arch/ia32/Makefile.inc /SPARTAN/trunk/arch/ia32/src/ia32.c /SPARTAN/trunk/arch/ia32/src/smp/mp.c
|