H. Peter Anvin | 1965aae | 2008-10-22 22:26:29 -0700 | [diff] [blame] | 1 | #ifndef _ASM_X86_EMERGENCY_RESTART_H |
| 2 | #define _ASM_X86_EMERGENCY_RESTART_H |
Eric W. Biederman | 7c90347 | 2005-07-26 11:29:55 -0600 | [diff] [blame] | 3 | |
Huang, Ying | de18c85 | 2008-01-30 13:31:19 +0100 | [diff] [blame] | 4 | enum reboot_type { |
| 5 | BOOT_TRIPLE = 't', |
| 6 | BOOT_KBD = 'k', |
Miguel Boton | 4d022e3 | 2008-01-30 13:32:51 +0100 | [diff] [blame] | 7 | #ifdef CONFIG_X86_32 |
| 8 | BOOT_BIOS = 'b', |
| 9 | #endif |
Huang, Ying | de18c85 | 2008-01-30 13:31:19 +0100 | [diff] [blame] | 10 | BOOT_ACPI = 'a', |
H. Peter Anvin | 14d7ca5 | 2008-11-11 16:19:48 -0800 | [diff] [blame] | 11 | BOOT_EFI = 'e', |
| 12 | BOOT_CF9 = 'p', |
| 13 | BOOT_CF9_COND = 'q', |
Huang, Ying | de18c85 | 2008-01-30 13:31:19 +0100 | [diff] [blame] | 14 | }; |
| 15 | |
| 16 | extern enum reboot_type reboot_type; |
| 17 | |
Eric W. Biederman | 4a1421f | 2005-07-26 11:41:26 -0600 | [diff] [blame] | 18 | extern void machine_emergency_restart(void); |
Eric W. Biederman | 7c90347 | 2005-07-26 11:29:55 -0600 | [diff] [blame] | 19 | |
H. Peter Anvin | 1965aae | 2008-10-22 22:26:29 -0700 | [diff] [blame] | 20 | #endif /* _ASM_X86_EMERGENCY_RESTART_H */ |