=== modified file 'video/ieee1275.c' --- video/ieee1275.c 2010-03-14 15:32:50 +0000 +++ video/ieee1275.c 2010-03-14 19:40:47 +0000 @@ -167,6 +167,15 @@ return grub_error (GRUB_ERR_IO, "Couldn't retrieve display address."); /* For some reason sparc64 uses 32-bit pointer too. */ + framebuffer.ptr = 0x80000000; + ret = grub_ieee1275_map (address, framebuffer.ptr, + framebuffer.mode_info.pitch + * framebuffer.mode_info.height, + IEEE1275_MAP_DEFAULT); + if (ret) + return grub_error (GRUB_ERR_OUT_OF_MEMORY, + "couldn't map physical memory"); + framebuffer.ptr = (void *) (grub_addr_t) address; grub_video_ieee1275_set_palette (0, GRUB_VIDEO_FBSTD_NUMCOLORS,