60 attrs, sizeof ( osind ),
#define EFI_VARIABLE_RUNTIME_ACCESS
struct arbelprm_rc_send_wqe rc
#define EEFI(efirc)
Convert an EFI status code to an iPXE status code.
EFI_RESET_TYPE
Enumeration of reset types.
uint32_t type
Operating system type.
#define REBOOT_SETUP
Reboot to firmware setup.
static int efi_poweroff(void)
Power off system.
#define EFI_VARIABLE_BOOTSERVICE_ACCESS
#define EFI_OS_INDICATIONS_BOOT_TO_FW_UI
#define ECANCELED
Operation canceled.
int poweroff(void)
Power off system.
Used to induce a system-wide reset.
Used to induce a system-wide initialization.
#define EFI_OS_INDICATIONS_VARIABLE_NAME
Allows the OS to request the firmware to enable certain features and to take certain actions.
EFI_SET_VARIABLE SetVariable
PROVIDE_REBOOT(efi, reboot, efi_reboot)
EFI_GUID efi_global_variable
Global variable GUID.
static void efi_reboot(int flags)
Reboot system.
EFI Runtime Services Table.
EFI_RESET_SYSTEM ResetSystem
char * strerror(int errno)
Retrieve string representation of error number.
Used to induce an entry into a power state equivalent to the ACPI G2/S5 or G3 state.
#define REBOOT_WARM
Perform a warm reboot.
unsigned long long UINT64
GUID for EFI (NVRAM) Variables.
EFI_RUNTIME_SERVICES * RuntimeServices
A pointer to the EFI Runtime Services Table.
RETURN_STATUS EFI_STATUS
Function return status for EFI API.
EFI_SYSTEM_TABLE * efi_systab
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
#define EFI_VARIABLE_NON_VOLATILE
Attributes of variable.
#define NULL
NULL pointer (VOID *)
void reboot(int flags)
Reboot system.