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
1790 6690 d 1 h jermar /trunk/ Remove OpenFirmware calls from kernel/ entirely.

Switch the sparc64 port to use bootinfo.

Copy memcpy from boot/ to sparc64 kernel/ and
adjust it for memcpy_from/to_uspace.
 
/trunk/kernel/genarch/include/ofw
/trunk/kernel/genarch/src/ofw
/trunk/boot/arch/sparc64/loader/asm.S
/trunk/boot/arch/sparc64/loader/main.c
/trunk/boot/arch/sparc64/loader/main.h
/trunk/boot/genarch/ofw.c
/trunk/boot/genarch/ofw.h
/trunk/kernel/arch/ppc32/src/ppc32.c
/trunk/kernel/arch/sparc64/Makefile.inc
/trunk/kernel/arch/sparc64/_link.ld.in
/trunk/kernel/arch/sparc64/include/boot/boot.h
/trunk/kernel/arch/sparc64/include/drivers/fb.h
/trunk/kernel/arch/sparc64/include/drivers/i8042.h
/trunk/kernel/arch/sparc64/include/drivers/tick.h
/trunk/kernel/arch/sparc64/src/asm.S
/trunk/kernel/arch/sparc64/src/console.c
/trunk/kernel/arch/sparc64/src/drivers/i8042.c
/trunk/kernel/arch/sparc64/src/mm/frame.c
/trunk/kernel/arch/sparc64/src/mm/memory_init.c
/trunk/kernel/arch/sparc64/src/sparc64.c
/trunk/kernel/arch/sparc64/src/start.S
/trunk/kernel/genarch/Makefile.inc
/trunk/kernel/genarch/src/fb/fb.c
/trunk/kernel/generic/src/mm/frame.c
1789 6690 d 4 h jermar /trunk/ Fix ofw_memmap() in boot infrastructure.
The cell size is 32-bit and not equal sizeof(ofw_arg_t).
Define architecture dependant #address-cells and #size-cells for cases
the respective properties are missing in the OpenFirmware device tree.
The algorithm now works both for ppc32 and sparc64.

Add memmap_t, screen_t and keyboard_t to sparc64 bootinfo structure.
Be more verbose during sparc64 boot.

Move ALIGN_UP to generic part of boot/.

Change header guards in several places so that they don't contain double underscore.
 
/trunk/boot/arch/ppc32/loader/ofwarch.c
/trunk/boot/arch/ppc32/loader/ofwarch.h
/trunk/boot/arch/ppc64/loader/ofwarch.c
/trunk/boot/arch/ppc64/loader/ofwarch.h
/trunk/boot/arch/sparc64/loader/ofwarch.c
/trunk/boot/arch/sparc64/loader/ofwarch.h
/trunk/boot/generic/align.h
/trunk/kernel/arch/sparc64/include/regdef.h
/trunk/boot/arch/ppc32/loader/ofw.c
/trunk/boot/arch/ppc64/loader/ofw.c
/trunk/boot/arch/sparc64/loader/ofw.c
/trunk/boot/arch/ppc32/loader/Makefile
/trunk/boot/arch/ppc32/loader/asm.h
/trunk/boot/arch/ppc32/loader/boot.S
/trunk/boot/arch/ppc32/loader/main.c
/trunk/boot/arch/ppc32/loader/main.h
/trunk/boot/arch/ppc32/loader/types.h
/trunk/boot/arch/ppc64/loader/Makefile
/trunk/boot/arch/ppc64/loader/boot.S
/trunk/boot/arch/ppc64/loader/main.c
/trunk/boot/arch/ppc64/loader/main.h
/trunk/boot/arch/ppc64/loader/types.h
/trunk/boot/arch/sparc64/loader/Makefile
/trunk/boot/arch/sparc64/loader/asm.h
/trunk/boot/arch/sparc64/loader/boot.S
/trunk/boot/arch/sparc64/loader/main.c
/trunk/boot/arch/sparc64/loader/main.h
/trunk/boot/arch/sparc64/loader/types.h
/trunk/boot/genarch/ofw.c
/trunk/boot/genarch/ofw.h
/trunk/boot/generic/gentypes.h
/trunk/boot/generic/printf.h
/trunk/kernel/arch/sparc64/include/register.h
/trunk/kernel/arch/sparc64/src/asm.S
/trunk/kernel/arch/sparc64/src/start.S
1787 6692 d 1 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
1784 6692 d 22 h jermar /kernel/trunk/ Sync OpenFirmware functionality with boot.
Random cleanup.
 
/kernel/trunk/arch/sparc64/include/asm.h
/kernel/trunk/arch/sparc64/include/atomic.h
/kernel/trunk/arch/sparc64/include/barrier.h
/kernel/trunk/arch/sparc64/include/console.h
/kernel/trunk/arch/sparc64/include/drivers/fb.h
/kernel/trunk/arch/sparc64/include/drivers/i8042.h
/kernel/trunk/arch/sparc64/include/elf.h
/kernel/trunk/arch/sparc64/include/register.h
/kernel/trunk/arch/sparc64/include/stack.h
/kernel/trunk/arch/sparc64/include/trap/interrupt.h
/kernel/trunk/arch/sparc64/src/asm.S
/kernel/trunk/arch/sparc64/src/console.c
/kernel/trunk/arch/sparc64/src/drivers/i8042.c
/kernel/trunk/arch/sparc64/src/mm/frame.c
/kernel/trunk/arch/sparc64/src/mm/memory_init.c
/kernel/trunk/arch/sparc64/src/proc/scheduler.c
/kernel/trunk/arch/sparc64/src/sparc64.c
/kernel/trunk/arch/sparc64/src/start.S
/kernel/trunk/genarch/include/ofw/memory_init.h
/kernel/trunk/genarch/include/ofw/ofw.h
/kernel/trunk/genarch/src/ofw/memory_init.c
/kernel/trunk/genarch/src/ofw/ofw.c
1777 6699 d 4 h jermar /kernel/trunk/ Make sparc64 kernel assume it is loaded by our loader.  
/kernel/trunk/arch/sparc64/Makefile.inc
/kernel/trunk/arch/sparc64/include/boot/boot.h
/kernel/trunk/arch/sparc64/src/start.S
/kernel/trunk/genarch/src/ofw/ofw.c
895 6825 d 22 h jermar /kernel/trunk/ sparc64 work.
Very raw and fragile preliminary standalone keyboard support - polling mode only.
Because of a workaround in Simics, the scan codes are the same as on ia32.
 
/kernel/trunk/arch/amd64/include/drivers/i8042.h
/kernel/trunk/arch/sparc64/include/drivers/i8042.h
/kernel/trunk/arch/amd64/include/i8042.h
/kernel/trunk/arch/sparc64/include/drivers/keyboard.h
/kernel/trunk/arch/sparc64/Makefile.inc
/kernel/trunk/arch/sparc64/include/console.h
/kernel/trunk/arch/sparc64/include/interrupt.h
/kernel/trunk/arch/sparc64/src/console.c
/kernel/trunk/arch/sparc64/src/mm/tlb.c
/kernel/trunk/arch/sparc64/src/sparc64.c
/kernel/trunk/arch/sparc64/src/start.S
/kernel/trunk/genarch/include/i8042/i8042.h
/kernel/trunk/genarch/src/i8042/i8042.c
867 6831 d 4 h jermar /kernel/trunk/ Move OFW functionality of ppc32 memory_init to genarch so that the code can also be used by sparc64.
sparc64 is now close to broken as it lacks functionality to provide identity mapping for the whole phyisical memory.
 
/kernel/trunk/genarch/include/ofw/memory_init.h
/kernel/trunk/genarch/src/ofw/memory_init.c
/kernel/trunk/arch/ppc32/include/mm/memory_init.h
/kernel/trunk/arch/ppc32/src/mm/frame.c
/kernel/trunk/arch/ppc32/src/mm/memory_init.c
/kernel/trunk/arch/sparc64/Makefile.inc
/kernel/trunk/arch/sparc64/include/mm/memory_init.h
/kernel/trunk/arch/sparc64/include/trap/mmu.h
/kernel/trunk/arch/sparc64/src/mm/frame.c
/kernel/trunk/arch/sparc64/src/start.S
/kernel/trunk/arch/sparc64/src/trap/trap.c
/kernel/trunk/genarch/Makefile.inc
847 6836 d 1 h jermar /kernel/trunk/arch/sparc64/ Improve comments in start.S.  
/kernel/trunk/arch/sparc64/include/boot/boot.h
/kernel/trunk/arch/sparc64/src/start.S
846 6836 d 2 h jermar /kernel/trunk/arch/sparc64/ sparc64 work.
Relocate kernel to 4M.
 
/kernel/trunk/arch/sparc64/include/boot
/kernel/trunk/arch/sparc64/include/boot/boot.h
/kernel/trunk/arch/sparc64/_link.ld.in
/kernel/trunk/arch/sparc64/src/mm/tlb.c
/kernel/trunk/arch/sparc64/src/start.S
534 6910 d 23 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel again.  
/kernel
/SPARTAN
532 6910 d 23 h jermar / Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch.  
/SPARTAN
/kernel
529 6913 d 3 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 6923 d 4 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel.  
/kernel
/SPARTAN
426 6946 d 5 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
424 6947 d 5 h jermar /SPARTAN/trunk/ sparc64 work.
Link kernel with load address 0x4000.
Add fragment of Linux image header to force SILO to always load the kernel at 0x4000.
Adjust ofw.h and ofw.c to work also on sparc64.
 
/SPARTAN/trunk/arch/sparc64/src/sparc64.c
/SPARTAN/trunk/arch/sparc64/Makefile.inc
/SPARTAN/trunk/arch/sparc64/_link.ld
/SPARTAN/trunk/arch/sparc64/src/dummy.s
/SPARTAN/trunk/arch/sparc64/src/start.S
/SPARTAN/trunk/genarch/include/firmware/ofw/ofw.h
/SPARTAN/trunk/genarch/src/firmware/ofw/ofw.c
420 6950 d 20 h jermar /SPARTAN/trunk/arch/sparc64/ Small sparc64 changes.
Start native boot loader.
 
/SPARTAN/trunk/arch/sparc64/boot/_link.ld
/SPARTAN/trunk/arch/sparc64/boot/boot.S
/SPARTAN/trunk/arch/sparc64/_link.ld
/SPARTAN/trunk/arch/sparc64/boot/Makefile
/SPARTAN/trunk/arch/sparc64/include/context.h
/SPARTAN/trunk/arch/sparc64/src/dummy.s
/SPARTAN/trunk/arch/sparc64/src/start.S
418 6953 d 22 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