emergency-restart.h 341 B

123456789101112131415161718
  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. };
  12. extern enum reboot_type reboot_type;
  13. extern void machine_emergency_restart(void);
  14. #endif /* ASM_X86__EMERGENCY_RESTART_H */