2008-10-23 09:26:29 +04:00
|
|
|
#ifndef _ASM_X86_EMERGENCY_RESTART_H
|
|
|
|
#define _ASM_X86_EMERGENCY_RESTART_H
|
2005-07-26 21:29:55 +04:00
|
|
|
|
2008-01-30 15:31:19 +03:00
|
|
|
enum reboot_type {
|
|
|
|
BOOT_TRIPLE = 't',
|
|
|
|
BOOT_KBD = 'k',
|
2008-01-30 15:32:51 +03:00
|
|
|
#ifdef CONFIG_X86_32
|
|
|
|
BOOT_BIOS = 'b',
|
|
|
|
#endif
|
2008-01-30 15:31:19 +03:00
|
|
|
BOOT_ACPI = 'a',
|
2008-11-12 03:19:48 +03:00
|
|
|
BOOT_EFI = 'e',
|
|
|
|
BOOT_CF9 = 'p',
|
|
|
|
BOOT_CF9_COND = 'q',
|
2008-01-30 15:31:19 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
extern enum reboot_type reboot_type;
|
|
|
|
|
2005-07-26 21:41:26 +04:00
|
|
|
extern void machine_emergency_restart(void);
|
2005-07-26 21:29:55 +04:00
|
|
|
|
2008-10-23 09:26:29 +04:00
|
|
|
#endif /* _ASM_X86_EMERGENCY_RESTART_H */
|