forked from Minki/linux
de18c850af
This patch adds support for several EFI runtime services for EFI x86_64 system. The EFI support for emergency_restart is added. Signed-off-by: Chandramouli Narayanan <mouli@linux.intel.com> Signed-off-by: Huang Ying <ying.huang@intel.com> Cc: Andi Kleen <ak@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
16 lines
283 B
C
16 lines
283 B
C
#ifndef _ASM_EMERGENCY_RESTART_H
|
|
#define _ASM_EMERGENCY_RESTART_H
|
|
|
|
enum reboot_type {
|
|
BOOT_TRIPLE = 't',
|
|
BOOT_KBD = 'k',
|
|
BOOT_ACPI = 'a',
|
|
BOOT_EFI = 'e'
|
|
};
|
|
|
|
extern enum reboot_type reboot_type;
|
|
|
|
extern void machine_emergency_restart(void);
|
|
|
|
#endif /* _ASM_EMERGENCY_RESTART_H */
|