arm64/linux/loader: Rename functions and macros and move to common headers
In preparation for using the linux loader for 32-bit and 64-bit platforms, rename grub_arm64*/GRUB_ARM64* to grub_armxx*/GRUB_ARMXX*. Move prototypes for now-common functions to efi/efi.h. Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
parent
af26eb0e1a
commit
ba3da3c002
4 changed files with 20 additions and 17 deletions
|
@ -265,9 +265,9 @@ xen_boot (void)
|
|||
if (err)
|
||||
return err;
|
||||
|
||||
return grub_arm64_uefi_boot_image (xen_hypervisor->start,
|
||||
xen_hypervisor->size,
|
||||
xen_hypervisor->cmdline);
|
||||
return grub_armxx_efi_linux_boot_image (xen_hypervisor->start,
|
||||
xen_hypervisor->size,
|
||||
xen_hypervisor->cmdline);
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -468,8 +468,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_arm64_uefi_check_image
|
||||
((struct linux_arm64_kernel_header *) &sh) != GRUB_ERR_NONE)
|
||||
if (grub_armxx_efi_linux_check_image
|
||||
((struct linux_armxx_kernel_header *) &sh) != GRUB_ERR_NONE)
|
||||
goto fail;
|
||||
grub_file_seek (file, 0);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue