efi: libstub: Factor out EFI stub entrypoint into separate file
authorArd Biesheuvel <ardb@kernel.org>
Wed, 12 Oct 2022 10:55:11 +0000 (12:55 +0200)
committerArd Biesheuvel <ardb@kernel.org>
Wed, 9 Nov 2022 11:42:03 +0000 (12:42 +0100)
commit42c8ea3dca094ab82776ca706fb7a9cbe8ac3dc9
tree4185281e09ada9be220aa4585bbea6b187cc9e1a
parentda8dd0c75b3f82eb366eb1745fb473ea92c8c087
efi: libstub: Factor out EFI stub entrypoint into separate file

In preparation for allowing the EFI zboot decompressor to reuse most of
the EFI stub machinery, factor out the actual EFI PE/COFF entrypoint
into a separate file.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
drivers/firmware/efi/libstub/Makefile
drivers/firmware/efi/libstub/efi-stub-entry.c [new file with mode: 0644]
drivers/firmware/efi/libstub/efi-stub.c
drivers/firmware/efi/libstub/efistub.h