emergency-restart.h 381 B

123456789101112131415161718192021
  1. #ifndef _ASM_X86_EMERGENCY_RESTART_H
  2. #define _ASM_X86_EMERGENCY_RESTART_H
  3. enum reboot_type {
  4. BOOT_TRIPLE = 't',
  5. BOOT_KBD = 'k',
  6. #ifdef CONFIG_X86_32
  7. BOOT_BIOS = 'b',
  8. #endif
  9. BOOT_ACPI = 'a',
  10. BOOT_EFI = 'e',
  11. BOOT_CF9 = 'p',
  12. BOOT_CF9_COND = 'q',
  13. };
  14. extern enum reboot_type reboot_type;
  15. extern void machine_emergency_restart(void);
  16. #endif /* _ASM_X86_EMERGENCY_RESTART_H */