Subversion Repositories HelenOS

Rev

Hide changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff Changes
3343 5925 d 14 h decky /branches/sparc/ add sparc branch  
/branches/sparc
1948 6592 d 21 h jermar /trunk/kernel/ Remove broken, outdated and unused gencontext.c utilities.  
/trunk/kernel/tools/amd64/gencontext.c
/trunk/kernel/tools/mips32/gencontext.c
/trunk/kernel/tools/ppc32/gencontext.c
/trunk/kernel/tools/ppc64/gencontext.c
/trunk/kernel/tools/sparc64/gencontext.c
/trunk/kernel/arch/amd64/include/context.h
/trunk/kernel/arch/mips32/include/context.h
/trunk/kernel/arch/mips32/include/context_offset.h
/trunk/kernel/arch/mips32/include/exception.h
/trunk/kernel/arch/ppc32/include/context.h
/trunk/kernel/arch/ppc32/include/exception.h
/trunk/kernel/arch/ppc64/include/context.h
/trunk/kernel/arch/ppc64/include/exception.h
/trunk/kernel/arch/sparc64/include/context.h
1787 6695 d 13 h decky / move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot  
/trunk
/trunk/boot
/trunk/kernel
/trunk/uspace
/boot/trunk
/kernel/trunk
/uspace/trunk
1780 6702 d 14 h jermar /kernel/trunk/ Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.).  
/kernel/trunk/arch/amd64/include/asm.h
/kernel/trunk/arch/amd64/include/atomic.h
/kernel/trunk/arch/amd64/include/byteorder.h
/kernel/trunk/arch/amd64/include/context.h
/kernel/trunk/arch/amd64/include/cpu.h
/kernel/trunk/arch/amd64/include/cpuid.h
/kernel/trunk/arch/amd64/include/faddr.h
/kernel/trunk/arch/amd64/include/interrupt.h
/kernel/trunk/arch/amd64/include/memstr.h
/kernel/trunk/arch/amd64/include/mm/frame.h
/kernel/trunk/arch/amd64/include/mm/page.h
/kernel/trunk/arch/amd64/include/pm.h
/kernel/trunk/arch/amd64/include/proc/thread.h
/kernel/trunk/arch/amd64/include/types.h
/kernel/trunk/arch/amd64/src/amd64.c
/kernel/trunk/arch/amd64/src/cpu/cpu.c
/kernel/trunk/arch/amd64/src/ddi/ddi.c
/kernel/trunk/arch/amd64/src/debugger.c
/kernel/trunk/arch/amd64/src/interrupt.c
/kernel/trunk/arch/amd64/src/mm/memory_init.c
/kernel/trunk/arch/amd64/src/mm/page.c
/kernel/trunk/arch/amd64/src/pm.c
/kernel/trunk/arch/amd64/src/proc/scheduler.c
/kernel/trunk/arch/amd64/src/syscall.c
/kernel/trunk/arch/ia32/include/asm.h
/kernel/trunk/arch/ia32/include/atomic.h
/kernel/trunk/arch/ia32/include/bios/bios.h
/kernel/trunk/arch/ia32/include/boot/memmap.h
/kernel/trunk/arch/ia32/include/byteorder.h
/kernel/trunk/arch/ia32/include/context.h
/kernel/trunk/arch/ia32/include/cpuid.h
/kernel/trunk/arch/ia32/include/drivers/i8042.h
/kernel/trunk/arch/ia32/include/drivers/i8259.h
/kernel/trunk/arch/ia32/include/faddr.h
/kernel/trunk/arch/ia32/include/fpu_context.h
/kernel/trunk/arch/ia32/include/interrupt.h
/kernel/trunk/arch/ia32/include/memstr.h
/kernel/trunk/arch/ia32/include/mm/frame.h
/kernel/trunk/arch/ia32/include/mm/page.h
/kernel/trunk/arch/ia32/include/pm.h
/kernel/trunk/arch/ia32/include/proc/thread.h
/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/include/types.h
/kernel/trunk/arch/ia32/src/bios/bios.c
/kernel/trunk/arch/ia32/src/cpu/cpu.c
/kernel/trunk/arch/ia32/src/ddi/ddi.c
/kernel/trunk/arch/ia32/src/drivers/ega.c
/kernel/trunk/arch/ia32/src/drivers/i8254.c
/kernel/trunk/arch/ia32/src/drivers/i8259.c
/kernel/trunk/arch/ia32/src/drivers/vesa.c
/kernel/trunk/arch/ia32/src/fpu_context.c
/kernel/trunk/arch/ia32/src/ia32.c
/kernel/trunk/arch/ia32/src/interrupt.c
/kernel/trunk/arch/ia32/src/mm/frame.c
/kernel/trunk/arch/ia32/src/mm/memory_init.c
/kernel/trunk/arch/ia32/src/mm/page.c
/kernel/trunk/arch/ia32/src/mm/tlb.c
/kernel/trunk/arch/ia32/src/pm.c
/kernel/trunk/arch/ia32/src/proc/scheduler.c
/kernel/trunk/arch/ia32/src/smp/ap.S
/kernel/trunk/arch/ia32/src/smp/apic.c
/kernel/trunk/arch/ia32/src/smp/ipi.c
/kernel/trunk/arch/ia32/src/smp/mps.c
/kernel/trunk/arch/ia32/src/smp/smp.c
/kernel/trunk/arch/ia64/include/asm.h
/kernel/trunk/arch/ia64/include/byteorder.h
/kernel/trunk/arch/ia64/include/context.h
/kernel/trunk/arch/ia64/include/cpu.h
/kernel/trunk/arch/ia64/include/faddr.h
/kernel/trunk/arch/ia64/include/interrupt.h
/kernel/trunk/arch/ia64/include/memstr.h
/kernel/trunk/arch/ia64/include/mm/asid.h
/kernel/trunk/arch/ia64/include/mm/page.h
/kernel/trunk/arch/ia64/include/mm/tlb.h
/kernel/trunk/arch/ia64/include/mm/vhpt.h
/kernel/trunk/arch/ia64/include/register.h
/kernel/trunk/arch/ia64/include/types.h
/kernel/trunk/arch/ia64/src/cpu/cpu.c
/kernel/trunk/arch/ia64/src/ddi/ddi.c
/kernel/trunk/arch/ia64/src/drivers/it.c
/kernel/trunk/arch/ia64/src/fpu_context.c
/kernel/trunk/arch/ia64/src/ia64.c
/kernel/trunk/arch/ia64/src/interrupt.c
/kernel/trunk/arch/ia64/src/mm/page.c
/kernel/trunk/arch/ia64/src/mm/tlb.c
/kernel/trunk/arch/ia64/src/mm/vhpt.c
/kernel/trunk/arch/ia64/src/proc/scheduler.c
/kernel/trunk/arch/ia64/src/ski/ski.c
/kernel/trunk/arch/mips32/include/arg.h
/kernel/trunk/arch/mips32/include/asm.h
/kernel/trunk/arch/mips32/include/boot.h
/kernel/trunk/arch/mips32/include/byteorder.h
/kernel/trunk/arch/mips32/include/context.h
/kernel/trunk/arch/mips32/include/cp0.h
/kernel/trunk/arch/mips32/include/cpu.h
/kernel/trunk/arch/mips32/include/debugger.h
/kernel/trunk/arch/mips32/include/drivers/arc.h
/kernel/trunk/arch/mips32/include/exception.h
/kernel/trunk/arch/mips32/include/faddr.h
/kernel/trunk/arch/mips32/include/fpu_context.h
/kernel/trunk/arch/mips32/include/memstr.h
/kernel/trunk/arch/mips32/include/mm/asid.h
/kernel/trunk/arch/mips32/include/mm/page.h
/kernel/trunk/arch/mips32/include/mm/tlb.h
/kernel/trunk/arch/mips32/include/types.h
/kernel/trunk/arch/mips32/src/ddi/ddi.c
/kernel/trunk/arch/mips32/src/debugger.c
/kernel/trunk/arch/mips32/src/drivers/arc.c
/kernel/trunk/arch/mips32/src/exception.c
/kernel/trunk/arch/mips32/src/interrupt.c
/kernel/trunk/arch/mips32/src/mips32.c
/kernel/trunk/arch/mips32/src/mm/page.c
/kernel/trunk/arch/mips32/src/mm/tlb.c
/kernel/trunk/arch/ppc32/include/asm.h
/kernel/trunk/arch/ppc32/include/boot/boot.h
/kernel/trunk/arch/ppc32/include/byteorder.h
/kernel/trunk/arch/ppc32/include/context.h
/kernel/trunk/arch/ppc32/include/cpuid.h
/kernel/trunk/arch/ppc32/include/drivers/cuda.h
/kernel/trunk/arch/ppc32/include/drivers/pic.h
/kernel/trunk/arch/ppc32/include/exception.h
/kernel/trunk/arch/ppc32/include/faddr.h
/kernel/trunk/arch/ppc32/include/fpu_context.h
/kernel/trunk/arch/ppc32/include/memstr.h
/kernel/trunk/arch/ppc32/include/mm/asid.h
/kernel/trunk/arch/ppc32/include/mm/frame.h
/kernel/trunk/arch/ppc32/include/mm/page.h
/kernel/trunk/arch/ppc32/include/types.h
/kernel/trunk/arch/ppc32/src/ddi/ddi.c
/kernel/trunk/arch/ppc32/src/drivers/cuda.c
/kernel/trunk/arch/ppc32/src/drivers/pic.c
/kernel/trunk/arch/ppc32/src/interrupt.c
/kernel/trunk/arch/ppc32/src/mm/as.c
/kernel/trunk/arch/ppc32/src/mm/frame.c
/kernel/trunk/arch/ppc32/src/mm/page.c
/kernel/trunk/arch/ppc32/src/mm/tlb.c
/kernel/trunk/arch/ppc32/src/ppc32.c
/kernel/trunk/arch/ppc64/include/asm.h
/kernel/trunk/arch/ppc64/include/boot/boot.h
/kernel/trunk/arch/ppc64/include/byteorder.h
/kernel/trunk/arch/ppc64/include/context.h
/kernel/trunk/arch/ppc64/include/cpuid.h
/kernel/trunk/arch/ppc64/include/exception.h
/kernel/trunk/arch/ppc64/include/faddr.h
/kernel/trunk/arch/ppc64/include/fpu_context.h
/kernel/trunk/arch/ppc64/include/memstr.h
/kernel/trunk/arch/ppc64/include/mm/frame.h
/kernel/trunk/arch/ppc64/include/mm/page.h
/kernel/trunk/arch/ppc64/include/types.h
/kernel/trunk/arch/ppc64/src/ddi/ddi.c
/kernel/trunk/arch/ppc64/src/interrupt.c
/kernel/trunk/arch/ppc64/src/mm/frame.c
/kernel/trunk/arch/ppc64/src/mm/page.c
/kernel/trunk/arch/ppc64/src/mm/tlb.c
/kernel/trunk/arch/ppc64/src/ppc64.c
/kernel/trunk/arch/sparc64/include/asm.h
/kernel/trunk/arch/sparc64/include/atomic.h
/kernel/trunk/arch/sparc64/include/byteorder.h
/kernel/trunk/arch/sparc64/include/context.h
/kernel/trunk/arch/sparc64/include/drivers/i8042.h
/kernel/trunk/arch/sparc64/include/faddr.h
/kernel/trunk/arch/sparc64/include/interrupt.h
/kernel/trunk/arch/sparc64/include/memstr.h
/kernel/trunk/arch/sparc64/include/mm/asid.h
/kernel/trunk/arch/sparc64/include/mm/frame.h
/kernel/trunk/arch/sparc64/include/mm/mmu.h
/kernel/trunk/arch/sparc64/include/mm/page.h
/kernel/trunk/arch/sparc64/include/mm/tlb.h
/kernel/trunk/arch/sparc64/include/mm/tte.h
/kernel/trunk/arch/sparc64/include/register.h
/kernel/trunk/arch/sparc64/include/trap/trap.h
/kernel/trunk/arch/sparc64/include/trap/trap_table.h
/kernel/trunk/arch/sparc64/include/types.h
/kernel/trunk/arch/sparc64/src/ddi/ddi.c
/kernel/trunk/arch/sparc64/src/drivers/i8042.c
/kernel/trunk/arch/sparc64/src/mm/page.c
/kernel/trunk/arch/sparc64/src/mm/tlb.c
/kernel/trunk/arch/sparc64/src/proc/scheduler.c
/kernel/trunk/arch/sparc64/src/trap/interrupt.c
/kernel/trunk/genarch/include/acpi/acpi.h
/kernel/trunk/genarch/include/acpi/madt.h
/kernel/trunk/genarch/include/fb/fb.h
/kernel/trunk/genarch/include/mm/page_ht.h
/kernel/trunk/genarch/include/mm/page_pt.h
/kernel/trunk/genarch/include/ofw/ofw.h
/kernel/trunk/genarch/src/acpi/acpi.c
/kernel/trunk/genarch/src/acpi/madt.c
/kernel/trunk/genarch/src/fb/fb.c
/kernel/trunk/genarch/src/i8042/i8042.c
/kernel/trunk/genarch/src/mm/as_pt.c
/kernel/trunk/genarch/src/mm/page_ht.c
/kernel/trunk/genarch/src/mm/page_pt.c
/kernel/trunk/genarch/src/ofw/memory_init.c
/kernel/trunk/genarch/src/ofw/ofw.c
/kernel/trunk/generic/include/adt/bitmap.h
/kernel/trunk/generic/include/adt/btree.h
/kernel/trunk/generic/include/adt/hash_table.h
/kernel/trunk/generic/include/adt/list.h
/kernel/trunk/generic/include/bitops.h
/kernel/trunk/generic/include/byteorder.h
/kernel/trunk/generic/include/config.h
/kernel/trunk/generic/include/console/chardev.h
/kernel/trunk/generic/include/console/console.h
/kernel/trunk/generic/include/console/kconsole.h
/kernel/trunk/generic/include/context.h
/kernel/trunk/generic/include/cpu.h
/kernel/trunk/generic/include/ddi/ddi.h
/kernel/trunk/generic/include/debug.h
/kernel/trunk/generic/include/elf.h
/kernel/trunk/generic/include/func.h
/kernel/trunk/generic/include/ipc/ipc.h
/kernel/trunk/generic/include/ipc/ipcrsc.h
/kernel/trunk/generic/include/ipc/irq.h
/kernel/trunk/generic/include/ipc/sysipc.h
/kernel/trunk/generic/include/macros.h
/kernel/trunk/generic/include/memstr.h
/kernel/trunk/generic/include/mm/as.h
/kernel/trunk/generic/include/mm/buddy.h
/kernel/trunk/generic/include/mm/frame.h
/kernel/trunk/generic/include/mm/page.h
/kernel/trunk/generic/include/mm/slab.h
/kernel/trunk/generic/include/mm/tlb.h
/kernel/trunk/generic/include/proc/task.h
/kernel/trunk/generic/include/proc/thread.h
/kernel/trunk/generic/include/security/cap.h
/kernel/trunk/generic/include/sort.h
/kernel/trunk/generic/include/stackarg.h
/kernel/trunk/generic/include/symtab.h
/kernel/trunk/generic/include/synch/condvar.h
/kernel/trunk/generic/include/synch/futex.h
/kernel/trunk/generic/include/synch/mutex.h
/kernel/trunk/generic/include/synch/rwlock.h
/kernel/trunk/generic/include/synch/semaphore.h
/kernel/trunk/generic/include/synch/waitq.h
/kernel/trunk/generic/include/syscall/syscall.h
/kernel/trunk/generic/include/sysinfo/sysinfo.h
/kernel/trunk/generic/include/time/delay.h
/kernel/trunk/generic/include/time/timeout.h
/kernel/trunk/generic/src/adt/bitmap.c
/kernel/trunk/generic/src/adt/hash_table.c
/kernel/trunk/generic/src/console/chardev.c
/kernel/trunk/generic/src/console/cmd.c
/kernel/trunk/generic/src/console/console.c
/kernel/trunk/generic/src/console/kconsole.c
/kernel/trunk/generic/src/console/klog.c
/kernel/trunk/generic/src/cpu/cpu.c
/kernel/trunk/generic/src/ddi/ddi.c
/kernel/trunk/generic/src/debug/symtab.c
/kernel/trunk/generic/src/interrupt/interrupt.c
/kernel/trunk/generic/src/ipc/ipc.c
/kernel/trunk/generic/src/ipc/ipcrsc.c
/kernel/trunk/generic/src/ipc/irq.c
/kernel/trunk/generic/src/ipc/sysipc.c
/kernel/trunk/generic/src/lib/elf.c
/kernel/trunk/generic/src/lib/func.c
/kernel/trunk/generic/src/lib/memstr.c
/kernel/trunk/generic/src/lib/sort.c
/kernel/trunk/generic/src/main/main.c
/kernel/trunk/generic/src/mm/as.c
/kernel/trunk/generic/src/mm/backend_anon.c
/kernel/trunk/generic/src/mm/backend_elf.c
/kernel/trunk/generic/src/mm/backend_phys.c
/kernel/trunk/generic/src/mm/buddy.c
/kernel/trunk/generic/src/mm/frame.c
/kernel/trunk/generic/src/mm/page.c
/kernel/trunk/generic/src/mm/slab.c
/kernel/trunk/generic/src/mm/tlb.c
/kernel/trunk/generic/src/printf/printf_core.c
/kernel/trunk/generic/src/proc/scheduler.c
/kernel/trunk/generic/src/proc/task.c
/kernel/trunk/generic/src/proc/thread.c
/kernel/trunk/generic/src/security/cap.c
/kernel/trunk/generic/src/synch/condvar.c
/kernel/trunk/generic/src/synch/futex.c
/kernel/trunk/generic/src/synch/mutex.c
/kernel/trunk/generic/src/synch/rwlock.c
/kernel/trunk/generic/src/synch/semaphore.c
/kernel/trunk/generic/src/synch/spinlock.c
/kernel/trunk/generic/src/synch/waitq.c
/kernel/trunk/generic/src/syscall/copy.c
/kernel/trunk/generic/src/syscall/syscall.c
/kernel/trunk/generic/src/sysinfo/sysinfo.c
/kernel/trunk/generic/src/time/clock.c
/kernel/trunk/generic/src/time/delay.c
/kernel/trunk/generic/src/time/timeout.c
/kernel/trunk/test/fpu/fpu1/test.c
/kernel/trunk/test/fpu/mips1/test.c
/kernel/trunk/test/fpu/sse1/test.c
/kernel/trunk/test/mm/falloc1/test.c
/kernel/trunk/test/mm/falloc2/test.c
/kernel/trunk/test/mm/mapping1/test.c
/kernel/trunk/test/mm/purge1/test.c
/kernel/trunk/test/mm/slab1/test.c
/kernel/trunk/test/mm/slab2/test.c
/kernel/trunk/test/print/print1/test.c
/kernel/trunk/test/synch/rwlock4/test.c
/kernel/trunk/test/synch/semaphore2/test.c
/kernel/trunk/test/sysinfo/test.c
/kernel/trunk/tools/amd64/gencontext.c
/kernel/trunk/tools/mips32/gencontext.c
/kernel/trunk/tools/ppc32/gencontext.c
/kernel/trunk/tools/ppc64/gencontext.c
/kernel/trunk/tools/sparc64/gencontext.c
859 6836 d 7 h decky /kernel/trunk/tools/ make gencontext portable  
/kernel/trunk/tools/amd64/gencontext.c
/kernel/trunk/tools/mips32/gencontext.c
/kernel/trunk/tools/ppc32/gencontext.c
/kernel/trunk/tools/sparc64/gencontext.c
666 6891 d 9 h jermar /kernel/trunk/ sparc64 work.
Fix clean_window trap handler so that it clears output registers instead of input registers!
Fix interrupt handlers to save global registers.
 
/kernel/trunk/arch/sparc64/include/context.h
/kernel/trunk/arch/sparc64/include/context_offset.h
/kernel/trunk/arch/sparc64/include/trap/interrupt.h
/kernel/trunk/arch/sparc64/include/trap/regwin.h
/kernel/trunk/arch/sparc64/include/trap/trap_table.h
/kernel/trunk/arch/sparc64/src/context.S
/kernel/trunk/arch/sparc64/src/panic.S
/kernel/trunk/arch/sparc64/src/trap/trap_table.S
/kernel/trunk/tools/sparc64/gencontext.c
657 6897 d 8 h jermar /kernel/trunk/ sparc64 work.
Context again. It turns out, according to SCD 2.4, that registers that didn't have to be saved were saved (%o1 - %o5) and
registers that had to be saved were not saved (%i0 - %i5, %l0 - %l7).
 
/kernel/trunk/arch/sparc64/include/context.h
/kernel/trunk/arch/sparc64/include/context_offset.h
/kernel/trunk/arch/sparc64/src/context.S
/kernel/trunk/tools/sparc64/gencontext.c
534 6914 d 11 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel again.  
/kernel
/SPARTAN
532 6914 d 12 h jermar / Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch.  
/SPARTAN
/kernel
528 6917 d 11 h jermar /kernel/trunk/ sparc64 work.
The context_save/context_restore needed two other improvements.
First, storing of %fp because of window_fills.
Second, flushing all active windows before CONTEXT_LOAD to make CWP - 1 the overlap window.
 
/kernel/trunk/arch/sparc64/include/context.h
/kernel/trunk/arch/sparc64/include/context_offset.h
/kernel/trunk/arch/sparc64/src/context.S
/kernel/trunk/tools/sparc64/gencontext.c
527 6917 d 17 h jermar /kernel/trunk/ saprc64 work.
Perform leaf-procedure optimization for context_save and context_restore.
 
/kernel/trunk/arch/sparc64/include/context.h
/kernel/trunk/arch/sparc64/include/context_offset.h
/kernel/trunk/arch/sparc64/src/context.S
/kernel/trunk/tools/sparc64/gencontext.c
526 6917 d 18 h jermar /kernel/trunk/ sparc64 work.
No need to save/restore local registers.
 
/kernel/trunk/arch/sparc64/include/context.h
/kernel/trunk/arch/sparc64/include/context_offset.h
/kernel/trunk/arch/sparc64/src/context.S
/kernel/trunk/tools/sparc64/gencontext.c
501 6926 d 16 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel.  
/kernel
/SPARTAN
426 6949 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