newreloc on yeeloong

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-01-23 13:30:24 +01:00
parent 3c83bc50db
commit 7d8c9ec63d
8 changed files with 126 additions and 82 deletions

View file

@ -169,7 +169,7 @@ grub_relocator32_boot (struct grub_relocator *rel,
grub_memmove (src, &grub_relocator32_start, RELOCATOR_SIZEOF (32));
err = grub_relocator_prepare_relocs (rel, target, &relst);
err = grub_relocator_prepare_relocs (rel, target, &relst, NULL);
if (err)
return err;
@ -209,7 +209,7 @@ grub_relocator16_boot (struct grub_relocator *rel,
grub_memmove (src, &grub_relocator16_start, RELOCATOR_SIZEOF (16));
err = grub_relocator_prepare_relocs (rel, target, &relst);
err = grub_relocator_prepare_relocs (rel, target, &relst, NULL);
if (err)
return err;
@ -248,7 +248,7 @@ grub_relocator64_boot (struct grub_relocator *rel,
grub_memmove (src, &grub_relocator64_start, RELOCATOR_SIZEOF (64));
err = grub_relocator_prepare_relocs (rel, target, &relst);
err = grub_relocator_prepare_relocs (rel, target, &relst, NULL);
if (err)
return err;