]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/boot/efi/linux.c
sd-stub: Provide initrd with LINUX_EFI_INITRD_MEDIA_GUID
authorMax Resch <resch.max@gmail.com>
Thu, 30 Sep 2021 16:43:52 +0000 (18:43 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 11 Oct 2021 12:40:49 +0000 (14:40 +0200)
commita6089431d52adda93eec251a3df0dffa1fe0661a
treed2b8ff71a3b534ea9333ef2b5c896ab0758d4295
parentb1967fb83a21aedc5882c665cbccf4b55f4282be
sd-stub: Provide initrd with LINUX_EFI_INITRD_MEDIA_GUID

Register a LINUX_EFI_INITRD_MEDIA_GUID DevicePath with a LoadFile2Protocol interface and serve the initrd to a supported Linux kernel (Version 5.8+)
Leave the x86 code for older kernels in place until supported kernels become more mainstream
src/boot/efi/initrd.c [new file with mode: 0644]
src/boot/efi/initrd.h [new file with mode: 0644]
src/boot/efi/linux.c
src/boot/efi/linux.h
src/boot/efi/meson.build
src/boot/efi/missing_efi.h
src/boot/efi/stub.c