arm64: align linux kernel header struct naming with i386
Rename struct grub_arm64_linux_kernel_header -> linux_arm64_kernel_header. Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
parent
103779a19e
commit
324bbebdb7
3 changed files with 6 additions and 7 deletions
|
@ -50,7 +50,7 @@ static grub_addr_t initrd_start;
|
|||
static grub_addr_t initrd_end;
|
||||
|
||||
grub_err_t
|
||||
grub_arm64_uefi_check_image (struct grub_arm64_linux_kernel_header * lh)
|
||||
grub_arm64_uefi_check_image (struct linux_arm64_kernel_header * lh)
|
||||
{
|
||||
if (lh->magic != GRUB_ARM64_LINUX_MAGIC)
|
||||
return grub_error(GRUB_ERR_BAD_OS, "invalid magic number");
|
||||
|
@ -251,7 +251,7 @@ grub_cmd_linux (grub_command_t cmd __attribute__ ((unused)),
|
|||
int argc, char *argv[])
|
||||
{
|
||||
grub_file_t file = 0;
|
||||
struct grub_arm64_linux_kernel_header lh;
|
||||
struct linux_arm64_kernel_header lh;
|
||||
|
||||
grub_dl_ref (my_mod);
|
||||
|
||||
|
|
|
@ -67,7 +67,7 @@ typedef enum module_type module_type_t;
|
|||
|
||||
struct xen_hypervisor_header
|
||||
{
|
||||
struct grub_arm64_linux_kernel_header efi_head;
|
||||
struct linux_arm64_kernel_header efi_head;
|
||||
|
||||
/* This is always PE\0\0. */
|
||||
grub_uint8_t signature[GRUB_PE32_SIGNATURE_SIZE];
|
||||
|
@ -469,7 +469,7 @@ 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 grub_arm64_linux_kernel_header *) &sh) != GRUB_ERR_NONE)
|
||||
((struct linux_arm64_kernel_header *) &sh) != GRUB_ERR_NONE)
|
||||
goto fail;
|
||||
grub_file_seek (file, 0);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue