summaryrefslogblamecommitdiff
path: root/arch/x86/include/asm/emergency-restart.h
blob: cc70c1c78ca47545bb7b927f878d3cb02275f142 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                    
 


                          


                        
                        


                            



                                    
                                            
 
                                         
#ifndef _ASM_X86_EMERGENCY_RESTART_H
#define _ASM_X86_EMERGENCY_RESTART_H

enum reboot_type {
	BOOT_TRIPLE = 't',
	BOOT_KBD = 'k',
#ifdef CONFIG_X86_32
	BOOT_BIOS = 'b',
#endif
	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 */