Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
577 |
6905 d 18 h |
palkovsky |
/kernel/trunk/ |
Some small fixes, basic changes to ia64 & ppc32 without testing. |
|
/kernel/trunk/arch/ia64/include/drivers/keyboard.h /kernel/trunk/arch/ia64/src/drivers/keyboard.c
/kernel/trunk/Makefile /kernel/trunk/arch/ia64/include/ski/ski.h /kernel/trunk/arch/ia64/src/drivers/it.c /kernel/trunk/arch/ia64/src/ia64.c /kernel/trunk/arch/ia64/src/ski/ski.c /kernel/trunk/arch/mips32/src/drivers/arc.c /kernel/trunk/arch/mips32/src/drivers/serial.c /kernel/trunk/arch/ppc32/src/console.c
|
569 |
6906 d 21 h |
jermar |
/kernel/trunk/ |
sparc64 work.
Implement functions for reading IMMU and DMMU TLBs. |
|
/kernel/trunk/arch/amd64/include/mm/tlb.h /kernel/trunk/arch/ia32/include/mm/tlb.h /kernel/trunk/arch/ia64/include/mm/tlb.h /kernel/trunk/arch/mips32/src/mm/tlb.c /kernel/trunk/arch/ppc32/include/mm/tlb.h /kernel/trunk/arch/sparc64/Makefile.inc /kernel/trunk/arch/sparc64/include/asm.h /kernel/trunk/arch/sparc64/include/barrier.h /kernel/trunk/arch/sparc64/include/mm/tlb.h /kernel/trunk/arch/sparc64/include/types.h /kernel/trunk/generic/include/mm/tlb.h /kernel/trunk/generic/src/mm/tlb.c
|
534 |
6911 d 0 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel again. |
|
/kernel
/SPARTAN
|
533 |
6911 d 0 h |
bondari |
/SPARTAN/trunk/ |
Buddy allocator for physical memory complete implementation.
Tested on IA32, AMD64, MIPS32. RWLock Test #5 is not passed.
NOTE: Other architectures could be broken (but should not be) |
|
/SPARTAN/trunk/Makefile.config /SPARTAN/trunk/arch/amd64/src/mm/page.c /SPARTAN/trunk/arch/ia32/src/mm/frame.c /SPARTAN/trunk/arch/ia32/src/mm/page.c /SPARTAN/trunk/arch/ia64/src/mm/frame.c /SPARTAN/trunk/arch/mips32/src/mm/frame.c /SPARTAN/trunk/arch/mips32/src/mm/page.c /SPARTAN/trunk/arch/ppc32/src/mm/frame.c /SPARTAN/trunk/generic/include/mm/buddy.h /SPARTAN/trunk/generic/include/mm/frame.h /SPARTAN/trunk/generic/include/typedefs.h /SPARTAN/trunk/generic/src/cpu/cpu.c /SPARTAN/trunk/generic/src/mm/buddy.c /SPARTAN/trunk/generic/src/mm/frame.c /SPARTAN/trunk/generic/src/mm/page.c /SPARTAN/trunk/generic/src/mm/vm.c /SPARTAN/trunk/generic/src/proc/thread.c
|
532 |
6911 d 0 h |
jermar |
/ |
Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch. |
|
/SPARTAN
/kernel
|
503 |
6923 d 3 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 |
6923 d 4 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel. |
|
/kernel
/SPARTAN
|
493 |
6923 d 21 h |
jermar |
/SPARTAN/trunk/ |
Move genarch/{src|include}/firmware/ofw to genarch/{src|include}/ofw. |
|
/SPARTAN/trunk/genarch/include/ofw /SPARTAN/trunk/genarch/src/ofw
/SPARTAN/trunk/genarch/include/firmware/ofw /SPARTAN/trunk/genarch/src/firmware/ofw
/SPARTAN/trunk/arch/ppc32/include/arch.h /SPARTAN/trunk/arch/ppc32/src/console.c /SPARTAN/trunk/arch/ppc32/src/mm/memory_init.c /SPARTAN/trunk/arch/sparc64/src/console.c /SPARTAN/trunk/genarch/Makefile.inc /SPARTAN/trunk/genarch/src/ofw/ofw.c
|
486 |
6930 d 21 h |
jermar |
/SPARTAN/trunk/ |
Revert to -O3 for all architectures as the mips32 bug got fixed. |
|
/SPARTAN/trunk/Makefile /SPARTAN/trunk/arch/amd64/Makefile.inc /SPARTAN/trunk/arch/ia32/Makefile.inc /SPARTAN/trunk/arch/ia64/Makefile.inc /SPARTAN/trunk/arch/mips32/Makefile.inc /SPARTAN/trunk/arch/ppc32/Makefile.inc /SPARTAN/trunk/arch/sparc64/Makefile.inc
|
483 |
6931 d 0 h |
jermar |
/SPARTAN/trunk/ |
For now, each architecture must use its own -O switch (-O2 doesn't work for ia64, -O3 doesn't work for mips32).
New mips32 atomic_add() function.
Cleanup. |
|
/SPARTAN/trunk/Makefile /SPARTAN/trunk/Makefile.config /SPARTAN/trunk/arch/amd64/Makefile.inc /SPARTAN/trunk/arch/ia32/Makefile.inc /SPARTAN/trunk/arch/ia64/Makefile.inc /SPARTAN/trunk/arch/mips32/Makefile.inc /SPARTAN/trunk/arch/mips32/include/atomic.h /SPARTAN/trunk/arch/mips32/include/cpu.h /SPARTAN/trunk/arch/mips32/src/interrupt.c /SPARTAN/trunk/arch/ppc32/Makefile.inc /SPARTAN/trunk/arch/sparc64/Makefile.inc /SPARTAN/trunk/generic/include/arch.h /SPARTAN/trunk/generic/include/config.h /SPARTAN/trunk/generic/include/cpu.h /SPARTAN/trunk/generic/include/proc/scheduler.h /SPARTAN/trunk/generic/include/synch/rwlock.h /SPARTAN/trunk/generic/include/typedefs.h /SPARTAN/trunk/generic/src/proc/scheduler.c /SPARTAN/trunk/test/fpu/fpu1/test.c /SPARTAN/trunk/test/fpu/mips1/test.c /SPARTAN/trunk/test/fpu/sse1/test.c /SPARTAN/trunk/test/synch/rwlock5/test.c
|
475 |
6935 d 6 h |
jermar |
/SPARTAN/trunk/ |
Define atomic_t type. |
|
/SPARTAN/trunk/arch/ia32/include/atomic.h /SPARTAN/trunk/arch/ia64/include/atomic.h /SPARTAN/trunk/arch/mips32/include/atomic.h /SPARTAN/trunk/arch/ppc32/include/atomic.h /SPARTAN/trunk/arch/sparc64/include/atomic.h /SPARTAN/trunk/generic/include/proc/scheduler.h /SPARTAN/trunk/generic/src/proc/scheduler.c /SPARTAN/trunk/generic/src/proc/thread.c /SPARTAN/trunk/test/synch/rwlock4/test.c /SPARTAN/trunk/test/synch/rwlock5/test.c /SPARTAN/trunk/test/synch/semaphore1/test.c /SPARTAN/trunk/test/synch/semaphore2/test.c
|
461 |
6937 d 6 h |
decky |
/SPARTAN/trunk/ |
link kernel in ARCH's native format first, then use objcopy to create output format |
|
/SPARTAN/trunk/Makefile /SPARTAN/trunk/arch/amd64/_link.ld.in /SPARTAN/trunk/arch/ia32/_link.ld.in /SPARTAN/trunk/arch/ia64/_link.ld.in /SPARTAN/trunk/arch/mips32/_link.ld.in /SPARTAN/trunk/arch/ppc32/_link.ld.in /SPARTAN/trunk/arch/sparc64/_link.ld.in
|
457 |
6937 d 8 h |
decky |
/SPARTAN/trunk/ |
new build system almost finished |
|
/SPARTAN/trunk/arch/amd64/include/atomic.h /SPARTAN/trunk/arch/amd64/include/barrier.h /SPARTAN/trunk/arch/amd64/include/bios /SPARTAN/trunk/arch/amd64/include/boot/memmap.h /SPARTAN/trunk/arch/amd64/include/boot/memmapasm.h /SPARTAN/trunk/arch/amd64/include/context_offset.h /SPARTAN/trunk/arch/amd64/include/ega.h /SPARTAN/trunk/arch/amd64/include/fpu_context.h /SPARTAN/trunk/arch/amd64/include/i8042.h /SPARTAN/trunk/arch/amd64/include/i8254.h /SPARTAN/trunk/arch/amd64/include/i8259.h /SPARTAN/trunk/arch/amd64/include/interrupt.h /SPARTAN/trunk/arch/amd64/include/mm/memory_init.h /SPARTAN/trunk/arch/amd64/include/smp /SPARTAN/trunk/arch/amd64/src/bios /SPARTAN/trunk/arch/amd64/src/boot/memmap.S /SPARTAN/trunk/arch/amd64/src/drivers /SPARTAN/trunk/arch/amd64/src/fmath.c /SPARTAN/trunk/arch/amd64/src/mm/frame.c /SPARTAN/trunk/arch/amd64/src/mm/memory_init.c /SPARTAN/trunk/arch/amd64/src/mm/tlb.c /SPARTAN/trunk/arch/amd64/src/smp/apic.c /SPARTAN/trunk/arch/amd64/src/smp/ipi.c /SPARTAN/trunk/arch/amd64/src/smp/mps.c /SPARTAN/trunk/arch/amd64/src/smp/smp.c /SPARTAN/trunk/arch/mips32/include/context_offset.h /SPARTAN/trunk/build.amd64 /SPARTAN/trunk/build.mips32 /SPARTAN/trunk/clean.amd64 /SPARTAN/trunk/clean.mips32
/SPARTAN/trunk/Makefile /SPARTAN/trunk/arch/amd64/Makefile.inc /SPARTAN/trunk/arch/amd64/_link.ld.in /SPARTAN/trunk/arch/amd64/boot/Makefile /SPARTAN/trunk/arch/ia32/Makefile.inc /SPARTAN/trunk/arch/ia32/_link.ld.in /SPARTAN/trunk/arch/ia32/include/barrier.h /SPARTAN/trunk/arch/ia64/Makefile.inc /SPARTAN/trunk/arch/ia64/_link.ld.in /SPARTAN/trunk/arch/mips32/Makefile.inc /SPARTAN/trunk/arch/mips32/_link.ld.in /SPARTAN/trunk/arch/mips32/boot/Makefile /SPARTAN/trunk/arch/mips32/boot/boot.S /SPARTAN/trunk/arch/ppc32/Makefile.inc /SPARTAN/trunk/arch/ppc32/_link.ld.in /SPARTAN/trunk/arch/sparc64/Makefile.inc /SPARTAN/trunk/arch/sparc64/_link.ld.in /SPARTAN/trunk/build.ia32
|
455 |
6937 d 20 h |
decky |
/SPARTAN/trunk/ |
new build system upgrade
finished work for IA-32, IA-64, PPC-32, SPARC-64 |
|
/SPARTAN/trunk/arch/ia64/_link.ld.in /SPARTAN/trunk/arch/ppc32/_link.ld.in /SPARTAN/trunk/arch/sparc64/_link.ld.in /SPARTAN/trunk/build.ia64 /SPARTAN/trunk/build.ppc32 /SPARTAN/trunk/build.sparc64 /SPARTAN/trunk/clean.ia32 /SPARTAN/trunk/clean.ia64 /SPARTAN/trunk/clean.ppc32 /SPARTAN/trunk/clean.sparc64
/SPARTAN/trunk/arch/ia64/_link.ld /SPARTAN/trunk/arch/ppc32/_link.ld /SPARTAN/trunk/arch/sparc64/_link.ld
/SPARTAN/trunk/Makefile /SPARTAN/trunk/arch/amd64/Makefile.inc /SPARTAN/trunk/arch/ia32/Makefile.inc /SPARTAN/trunk/arch/ia32/boot/Makefile /SPARTAN/trunk/arch/ia64/Makefile.inc /SPARTAN/trunk/arch/ia64/boot/Makefile /SPARTAN/trunk/arch/mips32/Makefile.inc /SPARTAN/trunk/arch/mips32/boot/Makefile /SPARTAN/trunk/arch/ppc32/Makefile.inc /SPARTAN/trunk/arch/ppc32/boot/Makefile /SPARTAN/trunk/arch/sparc64/Makefile.inc /SPARTAN/trunk/arch/sparc64/boot/Makefile /SPARTAN/trunk/build.ia32 /SPARTAN/trunk/clean
|
430 |
6943 d 21 h |
jermar |
/SPARTAN/trunk/ |
Move src/ and include/ to generic. |
|
/SPARTAN/trunk/generic /SPARTAN/trunk/generic/include /SPARTAN/trunk/generic/src
/SPARTAN/trunk/include /SPARTAN/trunk/src
/SPARTAN/trunk/Makefile /SPARTAN/trunk/arch/amd64/Makefile.inc /SPARTAN/trunk/arch/ia32/Makefile.inc /SPARTAN/trunk/arch/ia64/Makefile.inc /SPARTAN/trunk/arch/mips32/Makefile.inc /SPARTAN/trunk/arch/mips32/boot/Makefile /SPARTAN/trunk/arch/ppc32/Makefile.inc /SPARTAN/trunk/arch/sparc64/Makefile.inc /SPARTAN/trunk/genarch/Makefile.inc /SPARTAN/trunk/generic/src/main/kinit.c
|
426 |
6946 d 6 h |
jermar |
/SPARTAN/trunk/ |
sparc64 work.
Add context_save(), context_set() and context_restore().
Remove putchar() definition from ofw.c.
Add sparc64 putchar().
Add ppc32 putchar() (i.e. the original ofw.c putchar()).
Make arg.h use the builtin va_* constructs. |
|
/SPARTAN/trunk/arch/ppc32/src/console.c /SPARTAN/trunk/arch/sparc64/src/asm.S /SPARTAN/trunk/arch/sparc64/src/console.c /SPARTAN/trunk/arch/sparc64/src/context.S /SPARTAN/trunk/arch/sparc64/src/mm /SPARTAN/trunk/arch/sparc64/src/mm/frame.c /SPARTAN/trunk/arch/sparc64/src/mm/page.c /SPARTAN/trunk/tools/sparc64 /SPARTAN/trunk/tools/sparc64/gencontext.c
/SPARTAN/trunk/arch/mips32/include/arg.h /SPARTAN/trunk/arch/ppc32/Makefile.inc /SPARTAN/trunk/arch/sparc64/Makefile.inc /SPARTAN/trunk/arch/sparc64/_link.ld /SPARTAN/trunk/arch/sparc64/include/arg.h /SPARTAN/trunk/arch/sparc64/include/asm.h /SPARTAN/trunk/arch/sparc64/include/context.h /SPARTAN/trunk/arch/sparc64/include/types.h /SPARTAN/trunk/arch/sparc64/src/dummy.s /SPARTAN/trunk/arch/sparc64/src/start.S /SPARTAN/trunk/build.sparc64 /SPARTAN/trunk/clean.sparc64 /SPARTAN/trunk/genarch/include/firmware/ofw/ofw.h /SPARTAN/trunk/genarch/src/firmware/ofw/ofw.c
|
421 |
6950 d 19 h |
jermar |
/SPARTAN/trunk/ |
Create genarch directory.
Move ppc32 ofw.[ch] to genarch.
Fix prototype for ofw_call() to return __address instead of int (please review).
Fix copyright notice in sparc64/boot/boot.S. |
|
/SPARTAN/trunk/genarch /SPARTAN/trunk/genarch/Makefile.inc /SPARTAN/trunk/genarch/include /SPARTAN/trunk/genarch/include/firmware /SPARTAN/trunk/genarch/include/firmware/ofw /SPARTAN/trunk/genarch/include/firmware/ofw/ofw.h /SPARTAN/trunk/genarch/src /SPARTAN/trunk/genarch/src/firmware /SPARTAN/trunk/genarch/src/firmware/ofw /SPARTAN/trunk/genarch/src/firmware/ofw/ofw.c
/SPARTAN/trunk/arch/ppc32/include/drivers/ofw.h /SPARTAN/trunk/arch/ppc32/src/drivers/ofw.c
/SPARTAN/trunk/Makefile /SPARTAN/trunk/arch/ppc32/Makefile.inc /SPARTAN/trunk/arch/ppc32/include/arch.h /SPARTAN/trunk/arch/ppc32/src/mm/memory_init.c /SPARTAN/trunk/arch/sparc64/boot/boot.S /SPARTAN/trunk/arch/sparc64/src/dummy.s
|
418 |
6953 d 23 h |
jermar |
/SPARTAN/trunk/ |
sparc64 infrastructure. |
|
/SPARTAN/trunk/arch/sparc64/Makefile.inc /SPARTAN/trunk/arch/sparc64/_link.ld /SPARTAN/trunk/arch/sparc64/boot /SPARTAN/trunk/arch/sparc64/boot/Makefile /SPARTAN/trunk/arch/sparc64/include /SPARTAN/trunk/arch/sparc64/include/arch.h /SPARTAN/trunk/arch/sparc64/include/arg.h /SPARTAN/trunk/arch/sparc64/include/asm.h /SPARTAN/trunk/arch/sparc64/include/atomic.h /SPARTAN/trunk/arch/sparc64/include/barrier.h /SPARTAN/trunk/arch/sparc64/include/byteorder.h /SPARTAN/trunk/arch/sparc64/include/context.h /SPARTAN/trunk/arch/sparc64/include/cpu.h /SPARTAN/trunk/arch/sparc64/include/faddr.h /SPARTAN/trunk/arch/sparc64/include/fmath.h /SPARTAN/trunk/arch/sparc64/include/fpu_context.h /SPARTAN/trunk/arch/sparc64/include/interrupt.h /SPARTAN/trunk/arch/sparc64/include/memstr.h /SPARTAN/trunk/arch/sparc64/include/mm /SPARTAN/trunk/arch/sparc64/include/mm/asid.h /SPARTAN/trunk/arch/sparc64/include/mm/frame.h /SPARTAN/trunk/arch/sparc64/include/mm/memory_init.h /SPARTAN/trunk/arch/sparc64/include/mm/page.h /SPARTAN/trunk/arch/sparc64/include/mm/tlb.h /SPARTAN/trunk/arch/sparc64/include/mm/vm.h /SPARTAN/trunk/arch/sparc64/include/thread.h /SPARTAN/trunk/arch/sparc64/include/types.h /SPARTAN/trunk/arch/sparc64/src /SPARTAN/trunk/arch/sparc64/src/dummy.s /SPARTAN/trunk/arch/sparc64/src/start.S /SPARTAN/trunk/build.sparc64 /SPARTAN/trunk/clean.sparc64
/SPARTAN/trunk/Makefile.config /SPARTAN/trunk/arch/mips32/_link.ld.in /SPARTAN/trunk/arch/ppc32/_link.ld
|
414 |
6958 d 10 h |
jermar |
/SPARTAN/trunk/ |
Create generic context_save() and context_restore().
These two functions are defined inline and only call context_save_arch() and context_restore_arch(), respectively.
The main purpose of this is to enable centralized commenting of these important and tricky functions. |
|
/SPARTAN/trunk/arch/amd64/include/context.h /SPARTAN/trunk/arch/amd64/src/context.S /SPARTAN/trunk/arch/ia32/include/context.h /SPARTAN/trunk/arch/ia32/src/context.s /SPARTAN/trunk/arch/ia64/include/context.h /SPARTAN/trunk/arch/ia64/src/context.S /SPARTAN/trunk/arch/mips32/include/context.h /SPARTAN/trunk/arch/mips32/src/context.S /SPARTAN/trunk/arch/ppc32/include/context.h /SPARTAN/trunk/arch/ppc32/src/context.S /SPARTAN/trunk/include/context.h /SPARTAN/trunk/src/main/main.c /SPARTAN/trunk/src/proc/scheduler.c /SPARTAN/trunk/src/proc/thread.c /SPARTAN/trunk/src/synch/waitq.c /SPARTAN/trunk/tools/amd64/gencontext.c /SPARTAN/trunk/tools/mips32/gencontext.c
|
413 |
6958 d 20 h |
jermar |
/SPARTAN/trunk/ |
Rename cpu_priority_{high|low|restore|read} functions to interrupts_{disable|enable|restore|read}.
Rename pri_t to ipl_t (Interrupt Priority Level).
Rename thread_t::pri to thread_t::priority. |
|
/SPARTAN/trunk/arch/amd64/include/asm.h /SPARTAN/trunk/arch/amd64/include/context.h /SPARTAN/trunk/arch/amd64/include/types.h /SPARTAN/trunk/arch/amd64/src/interrupt.c /SPARTAN/trunk/arch/amd64/src/userspace.c /SPARTAN/trunk/arch/ia32/include/asm.h /SPARTAN/trunk/arch/ia32/include/context.h /SPARTAN/trunk/arch/ia32/include/types.h /SPARTAN/trunk/arch/ia32/src/drivers/ega.c /SPARTAN/trunk/arch/ia32/src/interrupt.c /SPARTAN/trunk/arch/ia32/src/userspace.c /SPARTAN/trunk/arch/ia64/include/context.h /SPARTAN/trunk/arch/ia64/include/types.h /SPARTAN/trunk/arch/ia64/src/context.S /SPARTAN/trunk/arch/ia64/src/dummy.s /SPARTAN/trunk/arch/mips32/include/context.h /SPARTAN/trunk/arch/mips32/include/types.h /SPARTAN/trunk/arch/mips32/src/drivers/arc.c /SPARTAN/trunk/arch/mips32/src/exception.c /SPARTAN/trunk/arch/mips32/src/interrupt.c /SPARTAN/trunk/arch/mips32/src/mips32.c /SPARTAN/trunk/arch/mips32/src/mm/asid.c /SPARTAN/trunk/arch/mips32/src/mm/tlb.c /SPARTAN/trunk/arch/mips32/src/mm/vm.c /SPARTAN/trunk/arch/ppc32/include/asm.h /SPARTAN/trunk/arch/ppc32/include/context.h /SPARTAN/trunk/arch/ppc32/include/types.h /SPARTAN/trunk/include/arch.h /SPARTAN/trunk/include/proc/thread.h /SPARTAN/trunk/src/debug/print.c /SPARTAN/trunk/src/lib/func.c /SPARTAN/trunk/src/main/kinit.c /SPARTAN/trunk/src/main/main.c /SPARTAN/trunk/src/mm/frame.c /SPARTAN/trunk/src/mm/heap.c /SPARTAN/trunk/src/mm/vm.c /SPARTAN/trunk/src/proc/scheduler.c /SPARTAN/trunk/src/proc/task.c /SPARTAN/trunk/src/proc/thread.c /SPARTAN/trunk/src/synch/rwlock.c /SPARTAN/trunk/src/synch/semaphore.c /SPARTAN/trunk/src/synch/waitq.c /SPARTAN/trunk/src/time/clock.c /SPARTAN/trunk/src/time/delay.c /SPARTAN/trunk/src/time/timeout.c /SPARTAN/trunk/test/synch/rwlock4/test.c /SPARTAN/trunk/tools/amd64/gencontext.c /SPARTAN/trunk/tools/mips32/gencontext.c
|