summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAdriano Cordova <[email protected]>2024-12-04 00:05:26 -0300
committerHeinrich Schuchardt <[email protected]>2024-12-04 12:24:38 +0100
commit238e0269d82f9662b27cd040e32c3543ccf3380f (patch)
tree8fb2d41220ac5923b92573accf1b92a438586d79 /include
parent929363cbb35ef9943f9c02938dc23d2c78582c5f (diff)
efi_loader: efi_net: add EFI_HTTP_PROTOCOL
Add an EFI HTTP driver. This commit implements the EFI_HTTP_PROTOCOL and the EFI_HTTP_SERVICE_BINDING_PROTOCOL. The latter is attached to the handle of th efi network device. This is the same handle where snp, pxe, and ipconfig are attached to. Signed-off-by: Adriano Cordova <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/efi_loader.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/efi_loader.h b/include/efi_loader.h
index 9be09a799ba..9afbec35ebf 100644
--- a/include/efi_loader.h
+++ b/include/efi_loader.h
@@ -629,6 +629,9 @@ efi_status_t efi_net_register(void);
/* Called by efi_net_register to make the ip4 config2 protocol available */
efi_status_t efi_ipconfig_register(const efi_handle_t handle,
struct efi_ip4_config2_protocol *ip4config);
+/* Called by efi_net_register to make the http protocol available */
+efi_status_t efi_http_register(const efi_handle_t handle,
+ struct efi_service_binding_protocol *http_service_binding);
/* Called by bootefi to make the watchdog available */
efi_status_t efi_watchdog_register(void);
efi_status_t efi_initrd_register(void);