* grub-core/loader/i386/linux.c: Use %p rather than %lx for pointers.
This commit is contained in:
parent
48ba5c0c86
commit
24ca71c93b
2 changed files with 8 additions and 4 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2013-12-15 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* grub-core/loader/i386/linux.c: Use %p rather than %lx for pointers.
|
||||||
|
|
||||||
2013-12-15 Vladimir Serbinenko <phcoder@gmail.com>
|
2013-12-15 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/kern/elfXX.c: Use grub_addr_t rather than long when
|
* grub-core/kern/elfXX.c: Use grub_addr_t rather than long when
|
||||||
|
|
|
@ -249,8 +249,8 @@ allocate_pages (grub_size_t prot_size, grub_size_t *align,
|
||||||
prot_mode_target = get_physical_target_address (ch);
|
prot_mode_target = get_physical_target_address (ch);
|
||||||
}
|
}
|
||||||
|
|
||||||
grub_dprintf ("linux", "prot_mode_mem = %lx, prot_mode_target = %lx, prot_size = %x\n",
|
grub_dprintf ("linux", "prot_mode_mem = %p, prot_mode_target = %lx, prot_size = %x\n",
|
||||||
(unsigned long) prot_mode_mem, (unsigned long) prot_mode_target,
|
prot_mode_mem, (unsigned long) prot_mode_target,
|
||||||
(unsigned) prot_size);
|
(unsigned) prot_size);
|
||||||
return GRUB_ERR_NONE;
|
return GRUB_ERR_NONE;
|
||||||
|
|
||||||
|
@ -593,8 +593,8 @@ grub_linux_boot (void)
|
||||||
}
|
}
|
||||||
efi_mmap_buf = (grub_uint8_t *) real_mode_mem + ctx.real_size;
|
efi_mmap_buf = (grub_uint8_t *) real_mode_mem + ctx.real_size;
|
||||||
|
|
||||||
grub_dprintf ("linux", "real_mode_mem = %lx\n",
|
grub_dprintf ("linux", "real_mode_mem = %p\n",
|
||||||
(unsigned long) real_mode_mem);
|
real_mode_mem);
|
||||||
|
|
||||||
ctx.params = real_mode_mem;
|
ctx.params = real_mode_mem;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue