static int efi_poweroff(void)
Power off system.
#define ECANCELED
Operation canceled.
int poweroff(void)
Power off system.
Used to induce a system-wide reset.
Used to induce a system-wide initialization.
PROVIDE_REBOOT(efi, reboot, efi_reboot)
EFI Runtime Services Table.
EFI_RESET_SYSTEM ResetSystem
Used to induce an entry into a power state equivalent to the ACPI G2/S5 or G3 state.
EFI_RUNTIME_SERVICES * RuntimeServices
A pointer to the EFI Runtime Services Table.
static void efi_reboot(int warm)
Reboot system.
void reboot(int warm)
Reboot system.
EFI_SYSTEM_TABLE * efi_systab
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
#define NULL
NULL pointer (VOID *)