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