blob: 94826cf874557acedd7afe248daa588a0c6383dd [file] [log] [blame]
H. Peter Anvin1965aae2008-10-22 22:26:29 -07001#ifndef _ASM_X86_EMERGENCY_RESTART_H
2#define _ASM_X86_EMERGENCY_RESTART_H
Eric W. Biederman7c903472005-07-26 11:29:55 -06003
Huang, Yingde18c852008-01-30 13:31:19 +01004enum reboot_type {
5 BOOT_TRIPLE = 't',
6 BOOT_KBD = 'k',
Miguel Boton4d022e32008-01-30 13:32:51 +01007#ifdef CONFIG_X86_32
8 BOOT_BIOS = 'b',
9#endif
Huang, Yingde18c852008-01-30 13:31:19 +010010 BOOT_ACPI = 'a',
11 BOOT_EFI = 'e'
12};
13
14extern enum reboot_type reboot_type;
15
Eric W. Biederman4a1421f2005-07-26 11:41:26 -060016extern void machine_emergency_restart(void);
Eric W. Biederman7c903472005-07-26 11:29:55 -060017
H. Peter Anvin1965aae2008-10-22 22:26:29 -070018#endif /* _ASM_X86_EMERGENCY_RESTART_H */