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
1789 6535 d 2 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 6536 d 23 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
1783 6537 d 21 h jermar /boot/trunk/ Some 32-bit vs. 64-bit fixes.

Make the call to OpenFirmware client interface architecture dependent.
For instance and contrary to my previous experience, the sparc64 version of
'translate' method would not work reliably unless the Address Mask bit in the
PSTATE register is cleared during duration of the call.

sparc64 and ppc32 OpenFirmware seem to differ in details, for example, the above
mentioned method 'translate' signals success by setting the first return value
to -1 on sparc64 while on ppc32 the value is/stays (???) zero.
 
/boot/trunk/arch/ppc32/loader/boot.S
/boot/trunk/arch/ppc32/loader/main.c
/boot/trunk/arch/ppc32/loader/ofw.c
/boot/trunk/arch/ppc64/loader/boot.S
/boot/trunk/arch/ppc64/loader/ofw.c
/boot/trunk/arch/sparc64/loader/asm.S
/boot/trunk/arch/sparc64/loader/boot.S
/boot/trunk/arch/sparc64/loader/main.c
/boot/trunk/arch/sparc64/loader/ofw.c
/boot/trunk/genarch/ofw.c
/boot/trunk/genarch/ofw.h
1773 6544 d 19 h jermar /boot/trunk/arch/sparc64/loader/ Work on sparc64 boot loader (still inactive).  
/boot/trunk/arch/sparc64/loader/asm.S
/boot/trunk/arch/sparc64/loader/boot.S
/boot/trunk/arch/sparc64/loader/ofw.c
/boot/trunk/arch/sparc64/loader/pack
1771 6544 d 22 h jermar /boot/trunk/ Cleanup OpenFirmware driver and prepare it for integration with sparc64 bootloader.
Start sparc64 boot loader (now inactive and unfunctional).
 
/boot/trunk/arch/sparc64/loader
/boot/trunk/arch/sparc64/loader/ofw.c
/boot/trunk/arch/sparc64/loader/msim.c
/boot/trunk/arch/sparc64/loader/msim.h
/boot/trunk/arch/sparc64/loader/regname.h
/boot/trunk/arch/ppc32/loader/ofw.c
/boot/trunk/arch/ppc64/loader/ofw.c
/boot/trunk/arch/sparc64/Makefile.inc
/boot/trunk/arch/sparc64/loader/Makefile
/boot/trunk/arch/sparc64/loader/asm.S
/boot/trunk/arch/sparc64/loader/asm.h
/boot/trunk/arch/sparc64/loader/boot.S
/boot/trunk/arch/sparc64/loader/main.c
/boot/trunk/arch/sparc64/loader/pack
/boot/trunk/arch/sparc64/loader/types.h
/boot/trunk/genarch/ofw.c
/boot/trunk/genarch/ofw.h
1744 6559 d 20 h decky /boot/trunk/arch/mips32/loader/ use stack in unmapped segment  
/boot/trunk/arch/mips32/loader/boot.S
1685 6568 d 6 h decky /boot/trunk/arch/mips32/ mips piggybacker  
/boot/trunk/arch/mips32/loader/pack
/boot/trunk/arch/mips32/loader/_link.ld
/boot/trunk/arch/mips32/Makefile.inc
/boot/trunk/arch/mips32/loader/Makefile
/boot/trunk/arch/mips32/loader/asm.S
/boot/trunk/arch/mips32/loader/asm.h
/boot/trunk/arch/mips32/loader/boot.S
/boot/trunk/arch/mips32/loader/main.c
/boot/trunk/arch/mips32/loader/main.h
/boot/trunk/arch/mips32/loader/printf.h
1018 6655 d 2 h decky /boot/trunk/ boot loader for msim  
/boot/trunk/arch/mips32
/boot/trunk/arch/mips32/Makefile.inc
/boot/trunk/arch/mips32/loader
/boot/trunk/arch/mips32/loader/Makefile
/boot/trunk/arch/mips32/loader/_link.ld
/boot/trunk/arch/mips32/loader/asm.S
/boot/trunk/arch/mips32/loader/asm.h
/boot/trunk/arch/mips32/loader/boot.S
/boot/trunk/arch/mips32/loader/main.c
/boot/trunk/arch/mips32/loader/main.h
/boot/trunk/arch/mips32/loader/msim.c
/boot/trunk/arch/mips32/loader/msim.h
/boot/trunk/arch/mips32/loader/printf.c
/boot/trunk/arch/mips32/loader/printf.h
/boot/trunk/arch/mips32/loader/regname.h
/boot/trunk/boot.config