efi: libstub: Enable efi_printk() in zboot decompressor
authorArd Biesheuvel <ardb@kernel.org>
Tue, 11 Oct 2022 13:27:45 +0000 (15:27 +0200)
committerArd Biesheuvel <ardb@kernel.org>
Wed, 9 Nov 2022 11:42:02 +0000 (12:42 +0100)
commit2e6fa86f2d484ff9a0047e20a48c1400314a5bb6
tree4ff6658afebecdf141b3170f148069ea0bc41474
parent52dce39cd2786673969a12d1c94e0922d9208f83
efi: libstub: Enable efi_printk() in zboot decompressor

Split the efi_printk() routine into its own source file, and provide
local implementations of strlen() and strnlen() so that the standalone
zboot app can efi_err and efi_info etc.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
arch/arm64/kernel/image-vars.h
arch/loongarch/kernel/image-vars.h
arch/riscv/kernel/image-vars.h
drivers/firmware/efi/libstub/Makefile
drivers/firmware/efi/libstub/efi-stub-helper.c
drivers/firmware/efi/libstub/printk.c [new file with mode: 0644]
drivers/firmware/efi/libstub/string.c
drivers/firmware/efi/libstub/zboot.c