emergency-restart.h 341 字节
Newer Older
H
H. Peter Anvin 已提交
1 2
#ifndef _ASM_X86_EMERGENCY_RESTART_H
#define _ASM_X86_EMERGENCY_RESTART_H
3

4 5 6
enum reboot_type {
	BOOT_TRIPLE = 't',
	BOOT_KBD = 'k',
M
Miguel Boton 已提交
7 8 9
#ifdef CONFIG_X86_32
	BOOT_BIOS = 'b',
#endif
10 11 12 13 14 15
	BOOT_ACPI = 'a',
	BOOT_EFI = 'e'
};

extern enum reboot_type reboot_type;

16
extern void machine_emergency_restart(void);
17

H
H. Peter Anvin 已提交
18
#endif /* _ASM_X86_EMERGENCY_RESTART_H */