53 if ( ( efirc =
efi_init ( image_handle, systab ) ) != 0 )
63 if ( (
rc =
main() ) != 0 ) {
int efi_driver_connect_all(void)
Connect EFI driver to all possible devices.
EFI_LOADED_IMAGE_PROTOCOL * efi_loaded_image
Loaded image protocol for this image.
struct arbelprm_rc_send_wqe rc
static void efi_init_stack_guard(EFI_HANDLE handle)
Initialise stack cookie.
static void uri_put(struct uri *uri)
Decrement URI reference count.
void efi_veto(void)
Remove any vetoed drivers.
static void efi_remove(struct root_device *rootdev __unused)
Remove EFI root bus.
struct root_device efi_root_device __root_device
EFI root device.
FILE_LICENCE(GPL2_OR_LATER)
This protocol can be used on any device handle to obtain generic path/location information concerning...
static void efi_snp_claim(void)
Claim network devices for use by iPXE.
Uniform Resource Identifiers.
struct device dev
Device chain.
int efi_autoexec_load(void)
Load autoexec script.
#define INIT_NORMAL
Normal initialisation.
EFI_DEVICE_PATH_PROTOCOL * efi_loaded_image_path
Device path for the loaded image's device handle.
An initialisation function.
void churi(struct uri *uri)
Change working URI.
void efi_driver_reconnect_all(void)
Reconnect original EFI drivers to all possible devices.
static void efi_watchdog_start(void)
Start EFI watchdog holdoff timer.
#define __unused
Declare a variable or data structure as unused.
static struct root_driver efi_root_driver
EFI root device driver.
static void efi_watchdog_stop(void)
Stop EFI watchdog holdoff timer.
struct init_fn efi_init_application_fn __init_fn(INIT_NORMAL)
EFI application initialisation function.
static void efi_init_application(void)
Initialise EFI application.
EFI watchdog holdoff timer.
void efi_driver_disconnect_all(void)
Disconnect EFI driver from all possible devices.
static void efi_snp_release(void)
Release network devices for use via SNP.
int(* probe)(struct root_device *rootdev)
Add root device.
int efi_set_autoboot_ll_addr(EFI_HANDLE device, EFI_DEVICE_PATH_PROTOCOL *path)
Identify autoboot device.
int efi_cachedhcp_record(EFI_HANDLE device, EFI_DEVICE_PATH_PROTOCOL *path)
Record cached DHCP packet.
struct uri * efi_path_uri(EFI_DEVICE_PATH_PROTOCOL *path)
Parse URI from device path.
EFI_STATUS EFIAPI _efi_start(EFI_HANDLE image_handle, EFI_SYSTEM_TABLE *systab)
EFI entry point.
RETURN_STATUS EFI_STATUS
Function return status for EFI API.
EFI_STATUS efi_init(EFI_HANDLE image_handle, EFI_SYSTEM_TABLE *systab)
Initialise EFI environment.
static int efi_probe(struct root_device *rootdev __unused)
Probe EFI root bus.
A Uniform Resource Identifier.
__asmcall int main(void)
Main entry point.
#define EFIRC(rc)
Convert an iPXE status code to an EFI status code.
EFI_HANDLE DeviceHandle
The device handle that the EFI Image was loaded from.