* 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:
Vladimir 'phcoder' Serbinenko 2010-12-18 14:31:05 +01:00
parent b04298cfa2
commit e1dffcf270
2 changed files with 7 additions and 1 deletions

View file

@ -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>
* grub-core/loader/i386/multiboot_mbi.c (grub_multiboot_load): Use

View file

@ -441,7 +441,7 @@ grub_multiboot_make_mbi (grub_uint32_t *target)
if (err)
return err;
ptrorig = get_virtual_current_address (ch);
ptrdest = (grub_addr_t) get_virtual_current_address (ch);
ptrdest = get_physical_target_address (ch);
*target = ptrdest;