Subversion Repositories HelenOS

Rev

Go to most recent revision | Hide changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff Changes
667 6885 d 12 h jermar /kernel/trunk/arch/sparc64/ sparc64 work.
Rename saving_handler() to preemptible_handler()
and fix it to make sparc64 kernel preemptive.
Add two handlers for two fatal exceptions (i.e.
instruction_access_exception and mem_address_not_aligned.
Fix panic_printf() to not allocate its own register window.
 
/kernel/trunk/arch/sparc64/include/trap/exception.h
/kernel/trunk/arch/sparc64/src/trap/exception.c
/kernel/trunk/arch/sparc64/Makefile.inc
/kernel/trunk/arch/sparc64/include/trap/interrupt.h
/kernel/trunk/arch/sparc64/include/trap/trap_table.h
/kernel/trunk/arch/sparc64/src/panic.S
/kernel/trunk/arch/sparc64/src/trap/trap.c
/kernel/trunk/arch/sparc64/src/trap/trap_table.S
664 6889 d 6 h jermar /kernel/trunk/ sparc64 work.
Interrupt Levels 1 - 15 serviced.
Minor changes in the exc_* functions.
 
/kernel/trunk/arch/sparc64/include/drivers
/kernel/trunk/arch/sparc64/include/drivers/tick.h
/kernel/trunk/arch/sparc64/include/trap/interrupt.h
/kernel/trunk/arch/sparc64/src/drivers
/kernel/trunk/arch/sparc64/src/drivers/tick.c
/kernel/trunk/arch/sparc64/src/trap/interrupt.c
/kernel/trunk/arch/sparc64/Makefile.inc
/kernel/trunk/arch/sparc64/include/asm.h
/kernel/trunk/arch/sparc64/include/interrupt.h
/kernel/trunk/arch/sparc64/include/register.h
/kernel/trunk/arch/sparc64/src/console.c
/kernel/trunk/arch/sparc64/src/sparc64.c
/kernel/trunk/arch/sparc64/src/trap/trap.c
/kernel/trunk/arch/sparc64/src/trap/trap_table.S
/kernel/trunk/generic/include/interrupt.h
/kernel/trunk/generic/include/typedefs.h
/kernel/trunk/generic/src/interrupt/interrupt.c
663 6889 d 19 h jermar /kernel/trunk/arch/sparc64/ sparc64 work.
Initial interrupt_vector_trap handler and fixes needed to make it do the right thing (i.e. panic()).
 
/kernel/trunk/arch/sparc64/Makefile.inc
/kernel/trunk/arch/sparc64/src/dummy.s
/kernel/trunk/arch/sparc64/src/panic.S
/kernel/trunk/arch/sparc64/src/sparc64.c
/kernel/trunk/arch/sparc64/src/trap/trap.c
/kernel/trunk/arch/sparc64/src/trap/trap_table.S
646 6896 d 8 h jermar /kernel/trunk/ Fix cpu_init(): frame_alloc() can return 0 as the valid address of block of frames. Do not signal error.

sparc64 work.
Reorganize kernel vs. userspace memory layout.
Add panic_printf().
Turn dummy() into nop rather than into infinite loop.
 
/kernel/trunk/arch/sparc64/src/panic.S
/kernel/trunk/arch/sparc64/Makefile.inc
/kernel/trunk/arch/sparc64/include/mm/page.h
/kernel/trunk/arch/sparc64/include/mm/vm.h
/kernel/trunk/arch/sparc64/src/dummy.s
/kernel/trunk/arch/sparc64/src/mm/tlb.c
/kernel/trunk/arch/sparc64/src/sparc64.c
/kernel/trunk/generic/src/cpu/cpu.c
640 6897 d 8 h jermar /kernel/trunk/ sparc64 work.
CPU identification.
 
/kernel/trunk/arch/sparc64/include/register.h
/kernel/trunk/arch/sparc64/src/cpu
/kernel/trunk/arch/sparc64/src/cpu/cpu.c
/kernel/trunk/arch/sparc64/Makefile.inc
/kernel/trunk/arch/sparc64/include/asm.h
/kernel/trunk/arch/sparc64/include/cpu.h
/kernel/trunk/arch/sparc64/src/dummy.s
/kernel/trunk/generic/src/console/kconsole.c
/kernel/trunk/generic/src/main/main.c
630 6899 d 11 h jermar /kernel/trunk/arch/sparc64/ sparc64 work.
Register window clean, spill and fill handlers.
 
/kernel/trunk/arch/sparc64/include/trap
/kernel/trunk/arch/sparc64/include/trap/regwin.h
/kernel/trunk/arch/sparc64/include/trap/trap.h
/kernel/trunk/arch/sparc64/include/trap/trap_table.h
/kernel/trunk/arch/sparc64/src/trap
/kernel/trunk/arch/sparc64/src/trap/trap.c
/kernel/trunk/arch/sparc64/src/trap/trap_table.S
/kernel/trunk/arch/sparc64/include/trap.h
/kernel/trunk/arch/sparc64/include/trap_table.h
/kernel/trunk/arch/sparc64/src/trap.c
/kernel/trunk/arch/sparc64/src/trap_table.S
/kernel/trunk/arch/sparc64/Makefile.inc
/kernel/trunk/arch/sparc64/src/mm/tlb.c
/kernel/trunk/arch/sparc64/src/sparc64.c
619 6901 d 5 h jermar /kernel/trunk/arch/sparc64/ sparc64 work.
Functions for disabling/enabling MMU.
TLB initialization.
Identity mapping of first 4M for kernel.
Switch to kernel copy of trap table.
 
/kernel/trunk/arch/sparc64/include/mm/mmu.h
/kernel/trunk/arch/sparc64/include/trap.h
/kernel/trunk/arch/sparc64/src/trap.c
/kernel/trunk/arch/sparc64/Makefile.inc
/kernel/trunk/arch/sparc64/include/mm/frame.h
/kernel/trunk/arch/sparc64/include/mm/tlb.h
/kernel/trunk/arch/sparc64/src/mm/tlb.c
/kernel/trunk/arch/sparc64/src/sparc64.c
569 6906 d 8 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 6910 d 11 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel again.  
/kernel
/SPARTAN
532 6910 d 12 h jermar / Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch.  
/SPARTAN
/kernel
529 6912 d 15 h jermar /kernel/trunk/arch/sparc64/ sparc64 work.
Add dummy trap tables.
 
/kernel/trunk/arch/sparc64/include/trap_table.h
/kernel/trunk/arch/sparc64/src/trap_table.S
/kernel/trunk/arch/sparc64/Makefile.inc
/kernel/trunk/arch/sparc64/include/asm.h
/kernel/trunk/arch/sparc64/src/context.S
/kernel/trunk/arch/sparc64/src/sparc64.c
/kernel/trunk/arch/sparc64/src/start.S
501 6922 d 16 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel.  
/kernel
/SPARTAN
486 6930 d 9 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 6930 d 11 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
467 6936 d 14 h jermar /SPARTAN/trunk/arch/ Add sparc64 context_offset.h.
Fix symbolic links in amd64 to be relative.
 
/SPARTAN/trunk/arch/sparc64/include/context_offset.h
/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/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/sparc64/Makefile.inc
465 6936 d 16 h jermar /SPARTAN/trunk/arch/sparc64/ Add missing arch sources for sparc64.  
/SPARTAN/trunk/arch/sparc64/Makefile.inc
457 6936 d 19 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 7 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 9 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 6945 d 17 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

Show All