[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 00/10] various cleanup
From: |
Leif Lindholm |
Subject: |
[PATCH 00/10] various cleanup |
Date: |
Thu, 1 Feb 2018 18:18:48 +0000 |
So, sorry I dropped the ball on this last year.
This series contains what I would hope to be non-contentious
cleanup in preparation for the functional changes (/fixes) for
the arm64 linux loader and its reuse in the arm-efi port.
1/10 Simply moves the EFI_PAGE definition to <grub/efi/memory.h>.
2-7/10 Cleans up and aligns the macro and struct naming for
<grub/cpu/linux.h>.
8/10 Makes it possible to include <grub/arm/linux.h> in a non-native
command or utility.
9-10/10 Switches to use the arm/arm64 kernel header structs in the
"file" command".
Leif Lindholm (10):
arm64/efi: move EFI_PAGE definitions to efi/memory.h
Make arch-specific linux.h include guards architecture unique
make GRUB_LINUX_MAGIC_SIGNATURE architecture-specific
i386: make struct linux_kernel_header architecture specific
arm64: align linux kernel header struct naming with i386
arm64: align linux kernel magic macro naming with i386
arm: switch linux loader to linux_arm_kernel_header struct
arm: make linux.h safe to include for non-native builds
commands/file: use definitions from arm/linux.h
commands/file: use definitions from arm64/linux.h
grub-core/commands/file.c | 31 +++++++++++++++----------------
grub-core/loader/arm/linux.c | 11 +++++------
grub-core/loader/arm64/linux.c | 7 ++++---
grub-core/loader/arm64/xen_boot.c | 5 +++--
grub-core/loader/efi/fdt.c | 1 +
grub-core/loader/i386/linux.c | 4 ++--
grub-core/loader/i386/pc/linux.c | 12 ++++++------
grub-core/loader/i386/xen_file.c | 4 ++--
include/grub/arm/linux.h | 25 +++++++++++++++++--------
include/grub/arm64/linux.h | 13 ++++++-------
include/grub/efi/fdtload.h | 3 ---
include/grub/efi/memory.h | 7 +++++++
include/grub/i386/linux.h | 10 +++++-----
13 files changed, 73 insertions(+), 60 deletions(-)
--
2.11.0
- [PATCH 00/10] various cleanup,
Leif Lindholm <=