diff options
author | Huang, Ying <ying.huang@intel.com> | 2008-01-30 12:31:19 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 12:31:19 (GMT) |
commit | de18c850af701ac9512b7239e88fa45e4c168771 (patch) | |
tree | 8b0d27a8e8e1908e4ce8c28fe83cba4c67e7f2f9 /include/asm-x86 | |
parent | 5b83683f32b113d07edfb67a33ce389fc624423d (diff) | |
download | linux-fsl-qoriq-de18c850af701ac9512b7239e88fa45e4c168771.tar.xz |
x86: EFI runtime service support: EFI runtime services
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>
Diffstat (limited to 'include/asm-x86')
-rw-r--r-- | include/asm-x86/emergency-restart.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/asm-x86/emergency-restart.h b/include/asm-x86/emergency-restart.h index 680c395..5418908 100644 --- a/include/asm-x86/emergency-restart.h +++ b/include/asm-x86/emergency-restart.h @@ -1,6 +1,15 @@ #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 */ |