efi: Rename armxx to arch
Some architectures want to boot Linux as plain UEFI binary. Today that really only encompasses ARM and AArch64, but going forward more architectures may adopt that model. So rename our internal API accordingly. Signed-off-by: Alexander Graf <agraf@suse.de> Acked-by: Leif Lindholm <leif.lindholm@linaro.org> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
parent
9223eff8f8
commit
e4b84a0d7c
5 changed files with 12 additions and 12 deletions
|
@ -265,7 +265,7 @@ xen_boot (void)
|
|||
if (err)
|
||||
return err;
|
||||
|
||||
return grub_armxx_efi_linux_boot_image (xen_hypervisor->start,
|
||||
return grub_arch_efi_linux_boot_image (xen_hypervisor->start,
|
||||
xen_hypervisor->size,
|
||||
xen_hypervisor->cmdline);
|
||||
}
|
||||
|
@ -469,8 +469,8 @@ grub_cmd_xen_hypervisor (grub_command_t cmd __attribute__ ((unused)),
|
|||
|
||||
if (grub_file_read (file, &sh, sizeof (sh)) != (long) sizeof (sh))
|
||||
goto fail;
|
||||
if (grub_armxx_efi_linux_check_image
|
||||
((struct linux_armxx_kernel_header *) &sh) != GRUB_ERR_NONE)
|
||||
if (grub_arch_efi_linux_check_image
|
||||
((struct linux_arch_kernel_header *) &sh) != GRUB_ERR_NONE)
|
||||
goto fail;
|
||||
grub_file_seek (file, 0);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue