Hi all, This series refactored booting protocol generation code to better accommodate different host ABI / Alignment and endianess.
It also enhanced LoongArch32 support. Thanks --- v2: Fix building on 32 bit host Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- Changes in v3: - v3: Split PATCH 2 to ease reviewing - Link to v2: https://lore.kernel.org/r/20241222-la-booting-v2-0-bef2ea7d3...@flygoat.com --- Jiaxun Yang (3): hw/loongarch/boot: Refactor EFI booting protocol generation hw/loongarch/boot: Take care of host endian for boot code hw/loongarch/boot: Support 32bit boot code hw/loongarch/boot.c | 323 ++++++++++++++++++++++++++++---------------- include/hw/loongarch/boot.h | 106 ++++++++++++--- 2 files changed, 295 insertions(+), 134 deletions(-) --- base-commit: 3e9793ab01904144c204589811e0e879109a9713 change-id: 20241219-la-booting-d6d8427a7790 Best regards, -- Jiaxun Yang <jiaxun.y...@flygoat.com>