xref: /linux/arch/x86/include/asm/emergency-restart.h (revision bb8985586b7a906e116db835c64773b7a7d51663)
1*bb898558SAl Viro #ifndef ASM_X86__EMERGENCY_RESTART_H
2*bb898558SAl Viro #define ASM_X86__EMERGENCY_RESTART_H
3*bb898558SAl Viro 
4*bb898558SAl Viro enum reboot_type {
5*bb898558SAl Viro 	BOOT_TRIPLE = 't',
6*bb898558SAl Viro 	BOOT_KBD = 'k',
7*bb898558SAl Viro #ifdef CONFIG_X86_32
8*bb898558SAl Viro 	BOOT_BIOS = 'b',
9*bb898558SAl Viro #endif
10*bb898558SAl Viro 	BOOT_ACPI = 'a',
11*bb898558SAl Viro 	BOOT_EFI = 'e'
12*bb898558SAl Viro };
13*bb898558SAl Viro 
14*bb898558SAl Viro extern enum reboot_type reboot_type;
15*bb898558SAl Viro 
16*bb898558SAl Viro extern void machine_emergency_restart(void);
17*bb898558SAl Viro 
18*bb898558SAl Viro #endif /* ASM_X86__EMERGENCY_RESTART_H */
19