mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 19:41:34 +07:00
650513979a
With the revamped realmode trampoline code, it is trivial to extend support for reboot=bios to x86-64. Furthermore, while we are at it, remove the restriction that only we can only override the reboot CPU on 32 bits. Signed-off-by: H. Peter Anvin <hpa@zytor.com> Link: http://lkml.kernel.org/n/tip-jopx7y6g6dbcx4tpal8q0jlr@git.kernel.org
19 lines
353 B
C
19 lines
353 B
C
#ifndef _ASM_X86_EMERGENCY_RESTART_H
|
|
#define _ASM_X86_EMERGENCY_RESTART_H
|
|
|
|
enum reboot_type {
|
|
BOOT_TRIPLE = 't',
|
|
BOOT_KBD = 'k',
|
|
BOOT_BIOS = 'b',
|
|
BOOT_ACPI = 'a',
|
|
BOOT_EFI = 'e',
|
|
BOOT_CF9 = 'p',
|
|
BOOT_CF9_COND = 'q',
|
|
};
|
|
|
|
extern enum reboot_type reboot_type;
|
|
|
|
extern void machine_emergency_restart(void);
|
|
|
|
#endif /* _ASM_X86_EMERGENCY_RESTART_H */
|