Subversion Repositories HelenOS-historic

Rev

Go to most recent revision | Hide changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff Changes
1783 6471 d 2 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 6476 d 9 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
1779 6477 d 5 h jermar /boot/trunk/ Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.).  
/boot/trunk/arch/mips32/loader/types.h
/boot/trunk/arch/ppc32/loader/types.h
/boot/trunk/arch/ppc64/loader/types.h
/boot/trunk/arch/sparc64/loader/types.h
/boot/trunk/generic/printf.c
1778 6477 d 8 h jermar /boot/trunk/arch/sparc64/ sparc64 is now booted by HelenOS boot loader.  
/boot/trunk/arch/sparc64/Makefile.inc
/boot/trunk/arch/sparc64/loader/asm.S
/boot/trunk/arch/sparc64/silo/silo.conf
1773 6478 d 0 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 6478 d 3 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 6486 d 1 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
1763 6486 d 2 h jermar /boot/trunk/ Cleanup in the boot infrastructure.
This commit tries to separate generic stuff from mips32 specific stuff.
Other architectures will follow.
 
/boot/trunk/arch/mips32/loader/types.h
/boot/trunk/genarch
/boot/trunk/generic
/boot/trunk/generic/printf.c
/boot/trunk/generic/printf.h
/boot/trunk/generic/stdarg.h
/boot/trunk/generic/types.h
/boot/trunk/arch/mips32/loader/printf.c
/boot/trunk/arch/mips32/loader/printf.h
/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/msim.h
1748 6493 d 1 h decky /boot/trunk/arch/mips32/loader/ bugfix  
/boot/trunk/arch/mips32/loader/pack
1747 6493 d 1 h decky /boot/trunk/ mips32 binary format choice  
/boot/trunk/arch/mips32/Makefile.inc
/boot/trunk/arch/mips32/loader/Makefile
/boot/trunk/arch/mips32/loader/pack
/boot/trunk/boot.config
1744 6493 d 2 h decky /boot/trunk/arch/mips32/loader/ use stack in unmapped segment  
/boot/trunk/arch/mips32/loader/boot.S
1685 6501 d 12 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 6588 d 8 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