]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[efi] Expose downloaded images via EFI_SIMPLE_FILE_SYSTEM_PROTOCOL
authorMichael Brown <mcb30@ipxe.org>
Wed, 13 Mar 2013 22:36:32 +0000 (22:36 +0000)
committerMichael Brown <mcb30@ipxe.org>
Wed, 13 Mar 2013 22:42:16 +0000 (22:42 +0000)
commitfc87adb46c1395b09302085e9d15fcd8ab3c31fe
tree35043eb05fce1aca8e26bc72aecb666779c45d10
parentdb014f3c23be19e11964d48f2bcb25b54a9bf722
[efi] Expose downloaded images via EFI_SIMPLE_FILE_SYSTEM_PROTOCOL

Expose iPXE's images as a UEFI file system, allowing the booted image
to access all images downloaded by iPXE.

This functionality is complementary to the custom iPXE download
protocol.  The iPXE download protocol allows a booted image to utilise
iPXE to download arbitrary URIs, but requires the booted image to
specifically support the custom iPXE download protocol.  The new
functionality limits the booted image to accessing only files that
were already downloaded by iPXE (e.g. as part of a script), but can
work with any generic UEFI image (e.g. the UEFI shell).  Both
protocols are provided simultaneously, and are attached to the SNP
device handle.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/image/efi_image.c
src/include/ipxe/efi/Guid/FileInfo.h [new file with mode: 0644]
src/include/ipxe/efi/Guid/FileSystemInfo.h [new file with mode: 0644]
src/include/ipxe/efi/Protocol/BlockIo.h [new file with mode: 0644]
src/include/ipxe/efi/Protocol/SimpleFileSystem.h [new file with mode: 0644]
src/include/ipxe/efi/efi.h
src/include/ipxe/efi/efi_download.h [moved from src/include/ipxe/efi/ipxe_download.h with 97% similarity]
src/include/ipxe/efi/efi_file.h [new file with mode: 0644]
src/interface/efi/efi_download.c
src/interface/efi/efi_file.c [new file with mode: 0644]