blob: 190d0d8b71e330e35d1b0da257ab38132f218db3 [file] [log] [blame]
Vegard Nossum77ef50a2008-06-18 17:08:48 +02001#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
Vegard Nossum77ef50a2008-06-18 17:08:48 +020018#endif /* ASM_X86__EMERGENCY_RESTART_H */