iPXE
|
#include <stdlib.h>
#include <errno.h>
#include <ipxe/device.h>
#include <ipxe/uri.h>
#include <ipxe/init.h>
#include <ipxe/efi/efi.h>
#include <ipxe/efi/efi_driver.h>
#include <ipxe/efi/efi_snp.h>
#include <ipxe/efi/efi_autoboot.h>
#include <ipxe/efi/efi_autoexec.h>
#include <ipxe/efi/efi_cachedhcp.h>
#include <ipxe/efi/efi_watchdog.h>
#include <ipxe/efi/efi_path.h>
#include <ipxe/efi/efi_veto.h>
Go to the source code of this file.
Functions | |
FILE_LICENCE (GPL2_OR_LATER) | |
EFI_STATUS EFIAPI | _efi_start (EFI_HANDLE image_handle, EFI_SYSTEM_TABLE *systab) |
EFI entry point. More... | |
static void | efi_init_application (void) |
Initialise EFI application. More... | |
struct init_fn efi_init_application_fn | __init_fn (INIT_NORMAL) |
EFI application initialisation function. More... | |
static int | efi_probe (struct root_device *rootdev __unused) |
Probe EFI root bus. More... | |
static void | efi_remove (struct root_device *rootdev __unused) |
Remove EFI root bus. More... | |
Variables | |
static struct root_driver | efi_root_driver |
EFI root device driver. More... | |
struct root_device efi_root_device | __root_device |
EFI root device. More... | |
FILE_LICENCE | ( | GPL2_OR_LATER | ) |
EFI_STATUS EFIAPI _efi_start | ( | EFI_HANDLE | image_handle, |
EFI_SYSTEM_TABLE * | systab | ||
) |
EFI entry point.
image_handle | Image handle |
systab | System table |
efirc | EFI return status code |
Definition at line 44 of file efiprefix.c.
References efi_driver_reconnect_all(), efi_init(), efi_init_stack_guard(), efi_loaded_image, efi_snp_claim(), efi_snp_release(), efi_watchdog_start(), efi_watchdog_stop(), EFIRC, main(), rc, and EFI_LOADED_IMAGE_PROTOCOL::Unload.
|
static |
Initialise EFI application.
Definition at line 81 of file efiprefix.c.
References churi(), EFI_LOADED_IMAGE_PROTOCOL::DeviceHandle, efi_cachedhcp_record(), efi_loaded_image, efi_loaded_image_path, efi_path_uri(), efi_set_autoboot_ll_addr(), and uri_put().
struct init_fn efi_init_application_fn __init_fn | ( | INIT_NORMAL | ) |
EFI application initialisation function.
|
static |
Probe EFI root bus.
rootdev | EFI root device |
Definition at line 109 of file efiprefix.c.
References efi_autoexec_load(), efi_driver_connect_all(), and efi_veto().
|
static |
Remove EFI root bus.
rootdev | EFI root device |
Definition at line 126 of file efiprefix.c.
References efi_driver_disconnect_all().
|
static |
EFI root device driver.
Definition at line 133 of file efiprefix.c.
struct root_device efi_root_device __root_device |
EFI root device.
Definition at line 139 of file efiprefix.c.