/trunk/boot/arch/sparc64/loader/main.c |
---|
31,6 → 31,7 |
#include "asm.h" |
#include "_components.h" |
#include <ofw.h> |
#include "ofwarch.h" |
#include <align.h> |
#define KERNEL_VIRTUAL_ADDRESS 0x400000 |
59,6 → 60,8 |
halt(); |
} |
bootinfo.screen.addr = ofw_translate(bootinfo.screen.addr); |
/* transform scanline to bytes with respect to potential alignment */ |
bootinfo.screen.scanline = bootinfo.screen.scanline*bpp2align[bootinfo.screen.bpp >> 3]; |
if (!ofw_keyboard(&bootinfo.keyboard)) |
printf("Error: unable to get keyboard properties\n"); |