2008-06-18 17:08:48 +02:00
|
|
|
#ifndef ASM_X86__EMERGENCY_RESTART_H
|
|
|
|
#define ASM_X86__EMERGENCY_RESTART_H
|
2005-07-26 19:29:55 +02:00
|
|
|
|
2008-01-30 13:31:19 +01:00
|
|
|
enum reboot_type {
|
|
|
|
BOOT_TRIPLE = 't',
|
|
|
|
BOOT_KBD = 'k',
|
2008-01-30 13:32:51 +01:00
|
|
|
#ifdef CONFIG_X86_32
|
|
|
|
BOOT_BIOS = 'b',
|
|
|
|
#endif
|
2008-01-30 13:31:19 +01:00
|
|
|
BOOT_ACPI = 'a',
|
|
|
|
BOOT_EFI = 'e'
|
|
|
|
};
|
|
|
|
|
|
|
|
extern enum reboot_type reboot_type;
|
|
|
|
|
2005-07-26 19:41:26 +02:00
|
|
|
extern void machine_emergency_restart(void);
|
2005-07-26 19:29:55 +02:00
|
|
|
|
2008-06-18 17:08:48 +02:00
|
|
|
#endif /* ASM_X86__EMERGENCY_RESTART_H */
|