diff options
author | Huang, Ying <ying.huang@intel.com> | 2008-01-30 07:31:19 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:31:19 -0500 |
commit | de18c850af701ac9512b7239e88fa45e4c168771 (patch) | |
tree | 8b0d27a8e8e1908e4ce8c28fe83cba4c67e7f2f9 /include/asm-x86/emergency-restart.h | |
parent | 5b83683f32b113d07edfb67a33ce389fc624423d (diff) |
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/emergency-restart.h')
-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 680c39563345..54189084462a 100644 --- a/include/asm-x86/emergency-restart.h +++ b/include/asm-x86/emergency-restart.h | |||
@@ -1,6 +1,15 @@ | |||
1 | #ifndef _ASM_EMERGENCY_RESTART_H | 1 | #ifndef _ASM_EMERGENCY_RESTART_H |
2 | #define _ASM_EMERGENCY_RESTART_H | 2 | #define _ASM_EMERGENCY_RESTART_H |
3 | 3 | ||
4 | enum reboot_type { | ||
5 | BOOT_TRIPLE = 't', | ||
6 | BOOT_KBD = 'k', | ||
7 | BOOT_ACPI = 'a', | ||
8 | BOOT_EFI = 'e' | ||
9 | }; | ||
10 | |||
11 | extern enum reboot_type reboot_type; | ||
12 | |||
4 | extern void machine_emergency_restart(void); | 13 | extern void machine_emergency_restart(void); |
5 | 14 | ||
6 | #endif /* _ASM_EMERGENCY_RESTART_H */ | 15 | #endif /* _ASM_EMERGENCY_RESTART_H */ |