emergency-restart.h 329 字节
Newer Older
1 2 3
#ifndef _ASM_EMERGENCY_RESTART_H
#define _ASM_EMERGENCY_RESTART_H

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 18

#endif /* _ASM_EMERGENCY_RESTART_H */