__asmcall int main(void)
Main entry point.
Definition: main.c:28
iPXE
|
#include <stdlib.h>
#include <errno.h>
#include <ipxe/device.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_watchdog.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 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 39 of file efiprefix.c.
References efi_driver_reconnect_all(), efi_init(), efi_init_stack_guard(), efi_loaded_image, efi_set_autoboot(), efi_snp_claim(), efi_snp_release(), efi_watchdog_start(), efi_watchdog_stop(), EFIRC, main(), rc, and EFI_LOADED_IMAGE_PROTOCOL::Unload.
|
static |
Probe EFI root bus.
rootdev | EFI root device |
Definition at line 80 of file efiprefix.c.
References efi_driver_connect_all(), and efi_veto().
|
static |
Remove EFI root bus.
rootdev | EFI root device |
Definition at line 94 of file efiprefix.c.
References efi_driver_disconnect_all().
|
static |
EFI root device driver.
Definition at line 101 of file efiprefix.c.
struct root_device efi_root_device __root_device |
EFI root device.
Definition at line 107 of file efiprefix.c.