original_kernel/include/asm-x86/emergency-restart.h

19 lines
341 B
C
Raw Normal View History

#ifndef ASM_X86__EMERGENCY_RESTART_H
#define ASM_X86__EMERGENCY_RESTART_H
enum reboot_type {
BOOT_TRIPLE = 't',
BOOT_KBD = 'k',
#ifdef CONFIG_X86_32
BOOT_BIOS = 'b',
#endif
BOOT_ACPI = 'a',
BOOT_EFI = 'e'
};
extern enum reboot_type reboot_type;
extern void machine_emergency_restart(void);
#endif /* ASM_X86__EMERGENCY_RESTART_H */