Subversion Repositories HelenOS-historic

Rev

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

Filtering Options

Rev Age Author Path Log message Diff Changes
1783 6489 d 11 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
1782 6494 d 18 h jermar /boot/trunk/ Fix ofw.c to support map and translate methods even on 64-bit platforms.  
/boot/trunk/arch/sparc64/loader/main.c
/boot/trunk/genarch/ofw.c
1772 6496 d 9 h jermar /boot/trunk/genarch/ Last changes to make ofw.c work for both 32-bit and 64-bit architectures during boot.  
/boot/trunk/genarch/ofw.c
1771 6496 d 12 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
1764 6504 d 10 h jermar /boot/trunk/ Cleanup boot infrastructure: ppc32 (and elsewhere).  
/boot/trunk/arch/ppc32/loader/types.h
/boot/trunk/genarch/ofw.c
/boot/trunk/genarch/ofw.h
/boot/trunk/generic/gentypes.h
/boot/trunk/arch/ppc32/loader/ofw.h
/boot/trunk/arch/ppc32/loader/printf.c
/boot/trunk/arch/ppc32/loader/printf.h
/boot/trunk/generic/types.h
/boot/trunk/Makefile
/boot/trunk/arch/mips32/Makefile.inc
/boot/trunk/arch/mips32/loader/Makefile
/boot/trunk/arch/mips32/loader/main.c
/boot/trunk/arch/mips32/loader/msim.c
/boot/trunk/arch/mips32/loader/types.h
/boot/trunk/arch/ppc32/Makefile.inc
/boot/trunk/arch/ppc32/loader/Makefile
/boot/trunk/arch/ppc32/loader/main.c
/boot/trunk/arch/ppc32/loader/ofw.c
/boot/trunk/arch/ppc64/Makefile.inc
1755 6509 d 20 h decky /boot/trunk/arch/ppc32/loader/ read macio address from PCI OFW entry  
/boot/trunk/arch/ppc32/loader/ofw.c
1620 6523 d 15 h decky /boot/trunk/arch/ppc32/loader/ update boot loader API  
/boot/trunk/arch/ppc32/loader/main.c
/boot/trunk/arch/ppc32/loader/main.h
/boot/trunk/arch/ppc32/loader/ofw.c
/boot/trunk/arch/ppc32/loader/ofw.h
1146 6588 d 17 h decky /boot/trunk/arch/ppc32/loader/ add instruction cache flush
align framebuffer on 128K boundary
change OFW calling method
make OFW code more compatible
 
/boot/trunk/arch/ppc32/loader/asm.S
/boot/trunk/arch/ppc32/loader/asm.h
/boot/trunk/arch/ppc32/loader/main.c
/boot/trunk/arch/ppc32/loader/ofw.c
/boot/trunk/arch/ppc32/loader/ofw.h
1130 6597 d 13 h decky /boot/trunk/arch/ppc32/loader/ extend boot info  
/boot/trunk/arch/ppc32/loader/main.c
/boot/trunk/arch/ppc32/loader/ofw.c
/boot/trunk/arch/ppc32/loader/ofw.h
1075 6604 d 19 h decky /boot/trunk/arch/ppc32/loader/ relocate boot loader structures if needed
(allowing to boot on stupid OFW implementations)
 
/boot/trunk/arch/ppc32/loader/asm.S
/boot/trunk/arch/ppc32/loader/asm.h
/boot/trunk/arch/ppc32/loader/main.c
/boot/trunk/arch/ppc32/loader/main.h
/boot/trunk/arch/ppc32/loader/ofw.c
/boot/trunk/arch/ppc32/loader/ofw.h
1058 6605 d 13 h decky /boot/trunk/arch/ppc32/loader/ relocate kernel in real mode  
/boot/trunk/arch/ppc32/loader/Makefile
/boot/trunk/arch/ppc32/loader/_link.ld
/boot/trunk/arch/ppc32/loader/asm.S
/boot/trunk/arch/ppc32/loader/asm.h
/boot/trunk/arch/ppc32/loader/main.c
/boot/trunk/arch/ppc32/loader/ofw.c
/boot/trunk/arch/ppc32/loader/ofw.h
/boot/trunk/arch/ppc32/loader/regname.h
964 6607 d 23 h decky /boot/trunk/arch/ppc32/loader/ ofw code cleanup
get memory map from ofw
 
/boot/trunk/arch/ppc32/loader/_link.ld
/boot/trunk/arch/ppc32/loader/asm.S
/boot/trunk/arch/ppc32/loader/asm.h
/boot/trunk/arch/ppc32/loader/main.c
/boot/trunk/arch/ppc32/loader/main.h
/boot/trunk/arch/ppc32/loader/ofw.c
/boot/trunk/arch/ppc32/loader/ofw.h
956 6608 d 12 h decky /boot/trunk/arch/ppc32/loader/ relocate ppc32 kernel above 2 GB  
/boot/trunk/arch/ppc32/loader/_link.ld
/boot/trunk/arch/ppc32/loader/asm.S
/boot/trunk/arch/ppc32/loader/asm.h
/boot/trunk/arch/ppc32/loader/main.c
/boot/trunk/arch/ppc32/loader/ofw.c
/boot/trunk/arch/ppc32/loader/ofw.h
953 6608 d 13 h decky /boot/trunk/arch/ppc32/loader/ cleanup and extend OFW code  
/boot/trunk/arch/ppc32/loader/asm.S
/boot/trunk/arch/ppc32/loader/asm.h
/boot/trunk/arch/ppc32/loader/main.c
/boot/trunk/arch/ppc32/loader/ofw.c
/boot/trunk/arch/ppc32/loader/ofw.h
/boot/trunk/arch/ppc32/loader/printf.c
/boot/trunk/arch/ppc32/loader/printf.h
885 6623 d 19 h decky /boot/trunk/ move ppc32 boot loader to /boot tree  
/boot/trunk/arch/ppc32
/boot/trunk/arch/ppc32/Makefile.inc
/boot/trunk/arch/ppc32/loader
/boot/trunk/arch/ppc32/loader/Makefile
/boot/trunk/arch/ppc32/loader/_link.ld
/boot/trunk/arch/ppc32/loader/boot.S
/boot/trunk/arch/ppc32/loader/main.c
/boot/trunk/arch/ppc32/loader/main.h
/boot/trunk/arch/ppc32/loader/ofw.c
/boot/trunk/arch/ppc32/loader/ofw.h
/boot/trunk/arch/ppc32/loader/printf.c
/boot/trunk/arch/ppc32/loader/printf.h
/boot/trunk/arch/ppc32/loader/regname.h
/boot/trunk/boot.config