]> git.baikalelectronics.ru Git - kernel.git/commit
efi/libstub/x86: Incorporate eboot.c into libstub
authorArd Biesheuvel <ardb@kernel.org>
Mon, 10 Feb 2020 16:02:36 +0000 (17:02 +0100)
committerArd Biesheuvel <ardb@kernel.org>
Sun, 23 Feb 2020 20:57:15 +0000 (21:57 +0100)
commit592d973930a24135ee8b2c519715f73bb5ff39ee
treed780f3000217b88062510f4b787646feca49adae
parentbae83586ef24e5ac4719dd4be00e8736df176308
efi/libstub/x86: Incorporate eboot.c into libstub

Most of the EFI stub source files of all architectures reside under
drivers/firmware/efi/libstub, where they share a Makefile with special
CFLAGS and an include file with declarations that are only relevant
for stub code.

Currently, we carry a lot of stub specific stuff in linux/efi.h only
because eboot.c in arch/x86 needs them as well. So let's move eboot.c
into libstub/, and move the contents of eboot.h that we still care
about into efistub.h

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