iPXE
|
EFI reboot mechanism. More...
Go to the source code of this file.
Functions | |
FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
static void | efi_reboot (int warm) |
Reboot system. More... | |
static int | efi_poweroff (void) |
Power off system. More... | |
PROVIDE_REBOOT (efi, reboot, efi_reboot) | |
PROVIDE_REBOOT (efi, poweroff, efi_poweroff) | |
EFI reboot mechanism.
Definition in file efi_reboot.c.
FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
|
static |
Reboot system.
warm | Perform a warm reboot |
Definition at line 42 of file efi_reboot.c.
References efi_systab, EfiResetCold, EfiResetWarm, NULL, EFI_RUNTIME_SERVICES::ResetSystem, and EFI_SYSTEM_TABLE::RuntimeServices.
|
static |
Power off system.
rc | Return status code |
Definition at line 54 of file efi_reboot.c.
References ECANCELED, efi_systab, EfiResetShutdown, NULL, EFI_RUNTIME_SERVICES::ResetSystem, and EFI_SYSTEM_TABLE::RuntimeServices.
PROVIDE_REBOOT | ( | efi | , |
reboot | , | ||
efi_reboot | |||
) |
PROVIDE_REBOOT | ( | efi | , |
poweroff | , | ||
efi_poweroff | |||
) |