1#ifndef _IPXE_DOWNLOAD_H
2#define _IPXE_DOWNLOAD_H
150#define IPXE_DOWNLOAD_PROTOCOL_GUID \
152 0x3eaeaebd, 0xdecf, 0x493b, { 0x9b, 0xd1, 0xcd, 0xb2, 0xde, 0xca, 0xe7, 0x19 } \
char CHAR8
1-byte Character
UINT64 UINTN
Unsigned value of native width.
#define VOID
Undeclared type.
RETURN_STATUS EFI_STATUS
Function return status for EFI API.
struct _IPXE_DOWNLOAD_PROTOCOL IPXE_DOWNLOAD_PROTOCOL
EFI_STATUS(EFIAPI * IPXE_DOWNLOAD_POLL)(IN IPXE_DOWNLOAD_PROTOCOL *This)
Poll for more data from iPXE.
EFI_STATUS(EFIAPI * IPXE_DOWNLOAD_ABORT)(IN IPXE_DOWNLOAD_PROTOCOL *This, IN IPXE_DOWNLOAD_FILE File, IN EFI_STATUS Status)
Forcibly abort downloading a file that is currently in progress.
void(EFIAPI * IPXE_DOWNLOAD_FINISH_CALLBACK)(IN VOID *Context, IN EFI_STATUS Status)
Callback function that is invoked when the file is finished downloading, or when a connection unexpec...
void efi_download_uninstall(EFI_HANDLE handle)
Uninstall iPXE download protocol.
EFI_STATUS(EFIAPI * IPXE_DOWNLOAD_START)(IN IPXE_DOWNLOAD_PROTOCOL *This, IN CHAR8 *Url, IN IPXE_DOWNLOAD_DATA_CALLBACK DataCallback, IN IPXE_DOWNLOAD_FINISH_CALLBACK FinishCallback, IN VOID *Context, OUT IPXE_DOWNLOAD_FILE *File)
Start downloading a file, and register callback functions to handle the download.
int efi_download_install(EFI_HANDLE handle)
Install iPXE download protocol.
EFI_STATUS(EFIAPI * IPXE_DOWNLOAD_DATA_CALLBACK)(IN VOID *Context, IN VOID *Buffer, IN UINTN BufferLength, IN UINTN FileOffset)
Callback function that is invoked when data arrives for a particular file.
VOID * IPXE_DOWNLOAD_FILE
Token to represent a currently downloading file.
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
PXENV_STATUS_t Status
PXE status code.
SEGOFF16_t Buffer
Buffer address.
UINT16_t BufferLength
Data buffer length.
The iPXE Download Protocol.
IPXE_DOWNLOAD_START Start
IPXE_DOWNLOAD_ABORT Abort