PROVIDE_REBOOT(pcbios, reboot, bios_reboot)
struct arbelprm_rc_send_wqe rc
int acpi_poweroff(void)
Power off the computer using ACPI.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
static int bios_poweroff(void)
Power off system.
int poweroff(void)
Power off system.
static void bios_reboot(int warm)
Reboot system.
char * strerror(int errno)
Retrieve string representation of error number.
__asm__ __volatile__("call *%9" :"=a"(result), "=c"(discard_ecx), "=d"(discard_edx) :"d"(0), "a"(code), "b"(0), "c"(in_phys), "D"(0), "S"(out_phys), "m"(hypercall))
int apm_poweroff(void)
Power off the computer using APM.
__asm__(".section \".rodata\", \"a\", " PROGBITS "\n\t" "\nprivate_key_data:\n\t" ".size private_key_data, ( . - private_key_data )\n\t" ".equ private_key_len, ( . - private_key_data )\n\t" ".previous\n\t")
Advanced Power Management.
void reboot(int warm)
Reboot system.
uint32_t flag
Flag number.
#define DBG(...)
Print a debugging message.
#define REAL_CODE(asm_code_str)