1789 |
6740 d 5 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
|