summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJan Setje-Eilers <jan.setjeeilers@oracle.com>2023-12-15 21:31:48 -0800
committerPeter Jones <pjones@redhat.com>2024-01-22 14:17:20 -0500
commita23e2f0de7a61b6e895a915676eba3a1fda2cd78 (patch)
tree061643f5c765d6e4bf4d4a01c518529c59a2cfc7 /include
parent6f395c23466a2bc08a28bbc216d6665ade0b117d (diff)
downloadefi-boot-shim-a23e2f0de7a61b6e895a915676eba3a1fda2cd78.tar.gz
efi-boot-shim-a23e2f0de7a61b6e895a915676eba3a1fda2cd78.zip
netboot read_image() should not hardcode DEFAULT_LOADER
The netboot path up until now hardcodes DEFAULT_LOADER as the only possible filename to load. This is pretty limiting and needs to be fixed. Signed-off-by: Jan Setje-Eilers <Jan.SetjeEilers@oracle.com>
Diffstat (limited to 'include')
-rw-r--r--include/httpboot.h2
-rw-r--r--include/netboot.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/httpboot.h b/include/httpboot.h
index ea9c57fe..119c546d 100644
--- a/include/httpboot.h
+++ b/include/httpboot.h
@@ -12,6 +12,6 @@
extern BOOLEAN find_httpboot(EFI_HANDLE device);
extern EFI_STATUS httpboot_fetch_buffer(EFI_HANDLE image, VOID **buffer,
- UINT64 *buf_size);
+ UINT64 *buf_size, CHAR8 *name);
#endif /* SHIM_HTTPBOOT_H */
diff --git a/include/netboot.h b/include/netboot.h
index 98b174a3..a7bf6cd8 100644
--- a/include/netboot.h
+++ b/include/netboot.h
@@ -5,7 +5,7 @@
extern BOOLEAN findNetboot(EFI_HANDLE image_handle);
-extern EFI_STATUS parseNetbootinfo(EFI_HANDLE image_handle);
+extern EFI_STATUS parseNetbootinfo(EFI_HANDLE image_handle, CHAR8 *name);
extern EFI_STATUS FetchNetbootimage(EFI_HANDLE image_handle, VOID **buffer, UINT64 *bufsiz);