Go to the source code of this file.
◆ FILE_LICENCE()
| FILE_LICENCE |
( |
GPL2_OR_LATER | | ) |
|
◆ _efidrv_start()
EFI entry point.
- Parameters
-
| image_handle | Image handle |
| systab | System table |
- Return values
-
| efirc | EFI return status code |
Definition at line 35 of file efidrvprefix.c.
36 {
39
40
42
43
44 if ( ( efirc =
efi_init ( image_handle, systab ) ) != 0 )
45 return efirc;
46
47
49
50
53
54
56
57 return 0;
58}
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.
void efi_raise_tpl(struct efi_saved_tpl *tpl)
Raise task priority level to internal level.
void efi_restore_tpl(struct efi_saved_tpl *tpl)
Restore task priority level.
static void efi_init_stack_guard(EFI_HANDLE handle)
Initialise stack cookie.
void startup(void)
Start up iPXE.
void initialise(void)
Initialise iPXE.
An EFI saved task priority level.
References EFI_HANDLE, efi_init(), efi_init_stack_guard(), efi_raise_tpl(), efi_restore_tpl(), EFIAPI, initialise(), and startup().
◆ efi_probe()
Probe EFI root bus.
- Parameters
-
Definition at line 65 of file efidrvprefix.c.
65 {
66
67
68 return 0;
69}
References __unused.
◆ efi_remove()
| void efi_remove |
( |
struct root_device *rootdev | __unused | ) |
|
|
static |
◆ efi_root_driver
Initial value:= {
}
static void efi_remove(struct root_device *rootdev __unused)
Remove EFI root bus.
static int efi_probe(struct root_device *rootdev __unused)
Probe EFI root bus.
EFI root device driver.
Definition at line 82 of file efidrvprefix.c.
◆ __root_device
Initial value:= {
.dev = { .name = "EFI" },
}
static struct root_driver efi_root_driver
EFI root device driver.
EFI root device.
Definition at line 88 of file efidrvprefix.c.
88 {
89 .dev = { .name = "EFI" },
91};