Vegard Nossum | 77ef50a | 2008-06-18 17:08:48 +0200 | [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', |
| 11 | BOOT_EFI = 'e' |
| 12 | }; |
| 13 | |
| 14 | extern enum reboot_type reboot_type; |
| 15 | |
Eric W. Biederman | 4a1421f | 2005-07-26 11:41:26 -0600 | [diff] [blame] | 16 | extern void machine_emergency_restart(void); |
Eric W. Biederman | 7c90347 | 2005-07-26 11:29:55 -0600 | [diff] [blame] | 17 | |
Vegard Nossum | 77ef50a | 2008-06-18 17:08:48 +0200 | [diff] [blame] | 18 | #endif /* ASM_X86__EMERGENCY_RESTART_H */ |