-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
Huang, Ying
authored and
Ingo Molnar
committed
Jan 30, 2008
1 parent
5b83683
commit de18c85
Showing
2 changed files
with
22 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 */ |