1881 |
6556 d 18 h |
jermar |
/trunk/ |
sparc64 work:
- find a CPU node and read its clock_frequency attribute
- implement asm_delay_loop()
- set TICK_COMPARE register according to processor frequency
- small improvements at random places
OpenFirmware work:
- two new functions for walking the device tree
Generic boot loader work:
- added basic string functions
Usual pile of indentation and formatting fixes. |
|
/trunk/boot/generic/string.c /trunk/boot/generic/string.h
/trunk/boot/arch/sparc64/loader/Makefile /trunk/boot/arch/sparc64/loader/main.c /trunk/boot/arch/sparc64/loader/main.h /trunk/boot/arch/sparc64/loader/ofwarch.c /trunk/boot/arch/sparc64/loader/ofwarch.h /trunk/boot/genarch/ofw.c /trunk/boot/genarch/ofw.h /trunk/boot/generic/gentypes.h /trunk/kernel/arch/ia64/src/drivers/it.c /trunk/kernel/arch/mips32/include/asm.h /trunk/kernel/arch/mips32/src/interrupt.c /trunk/kernel/arch/sparc64/include/asm.h /trunk/kernel/arch/sparc64/include/boot/boot.h /trunk/kernel/arch/sparc64/include/cpu.h /trunk/kernel/arch/sparc64/include/drivers/tick.h /trunk/kernel/arch/sparc64/src/cpu/cpu.c /trunk/kernel/arch/sparc64/src/drivers/tick.c /trunk/kernel/arch/sparc64/src/dummy.s /trunk/kernel/arch/sparc64/src/sparc64.c /trunk/kernel/arch/sparc64/src/start.S /trunk/kernel/generic/include/arch.h /trunk/kernel/generic/include/cpu.h /trunk/kernel/generic/include/time/clock.h /trunk/kernel/generic/include/time/delay.h /trunk/kernel/generic/include/time/timeout.h /trunk/kernel/generic/include/typedefs.h /trunk/kernel/generic/src/cpu/cpu.c
|
1837 |
6595 d 23 h |
jermar |
/trunk/ |
Support 24bpp framebuffers with 4 pixelbytes (each pixel aligned on 32-bits).
At least on sparc64, the OpenFirmware linebytes property specifies the number
of pixels between consecutive scan lines of the display. Fix scanilne calculation,
including possible alignment.
Add note to 8bpp pixel functions pointing out drawbacks of that mode. |
|
/trunk/boot/arch/sparc64/loader/main.c /trunk/boot/arch/sparc64/loader/ofwarch.c /trunk/boot/arch/sparc64/loader/ofwarch.h /trunk/kernel/arch/ia32/src/drivers/vesa.c /trunk/kernel/arch/mips32/src/mips32.c /trunk/kernel/arch/ppc32/src/ppc32.c /trunk/kernel/arch/ppc64/src/ppc64.c /trunk/kernel/arch/sparc64/src/console.c /trunk/kernel/genarch/include/fb/fb.h /trunk/kernel/genarch/src/fb/fb.c
|
1789 |
6617 d 16 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
|