* grub-core/loader/i386/multiboot_mbi.c (grub_multiboot_make_mbi):
Set ptrdest to correct get_physical_target_address rather than incorrect get_virtual_current_address.
This commit is contained in:
parent
b04298cfa2
commit
e1dffcf270
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2010-12-18 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* grub-core/loader/i386/multiboot_mbi.c (grub_multiboot_make_mbi):
|
||||||
|
Set ptrdest to correct get_physical_target_address rather than
|
||||||
|
incorrect get_virtual_current_address.
|
||||||
|
|
||||||
2010-12-18 kashyap garimella <garimella.kashyap@gmail.com>
|
2010-12-18 kashyap garimella <garimella.kashyap@gmail.com>
|
||||||
|
|
||||||
* grub-core/loader/i386/multiboot_mbi.c (grub_multiboot_load): Use
|
* grub-core/loader/i386/multiboot_mbi.c (grub_multiboot_load): Use
|
||||||
|
|
|
@ -441,7 +441,7 @@ grub_multiboot_make_mbi (grub_uint32_t *target)
|
||||||
if (err)
|
if (err)
|
||||||
return err;
|
return err;
|
||||||
ptrorig = get_virtual_current_address (ch);
|
ptrorig = get_virtual_current_address (ch);
|
||||||
ptrdest = (grub_addr_t) get_virtual_current_address (ch);
|
ptrdest = get_physical_target_address (ch);
|
||||||
|
|
||||||
*target = ptrdest;
|
*target = ptrdest;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue