+2013-06-16 Vladimir Serbinenko <phcoder@gmail.com>
+
+ Fix casts when compiling coreboot-specific code for 64-bit EFI.
+
2013-06-16 Vladimir Serbinenko <phcoder@gmail.com>
Don't try to detect cbfs on *-emu.
grub_printf (": %dx%dx%d pitch=%d lfb=0x%llx %d/%d/%d/%d %d/%d/%d/%d",
fb->width, fb->height,
- fb->bpp, fb->pitch, fb->lfb,
+ fb->bpp, fb->pitch,
+ (unsigned long long) fb->lfb,
fb->red_mask_size, fb->green_mask_size,
fb->blue_mask_size, fb->reserved_mask_size,
fb->red_field_pos, fb->green_field_pos,
struct cbfs_header *head;
ptr = *(grub_uint32_t *) 0xfffffffc;
- head = (struct cbfs_header *) ptr;
+ head = (struct cbfs_header *) (grub_addr_t) ptr;
if (!validate_head (head))
return;