blob: cc70c1c78ca47545bb7b927f878d3cb02275f142 [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',
H. Peter Anvin14d7ca52008-11-11 16:19:48 -080011 BOOT_EFI = 'e',
12 BOOT_CF9 = 'p',
13 BOOT_CF9_COND = 'q',
Huang, Yingde18c852008-01-30 13:31:19 +010014};
15
16extern enum reboot_type reboot_type;
17
Eric W. Biederman4a1421f2005-07-26 11:41:26 -060018extern void machine_emergency_restart(void);
Eric W. Biederman7c903472005-07-26 11:29:55 -060019
H. Peter Anvin1965aae2008-10-22 22:26:29 -070020#endif /* _ASM_X86_EMERGENCY_RESTART_H */