commit | cda846f101fb1396b6924f1d9b68ac3d42de5403 | [log] [tgz] |
---|---|---|
author | Jarkko Sakkinen <jarkko.sakkinen@intel.com> | Tue May 08 21:22:46 2012 +0300 |
committer | H. Peter Anvin <hpa@linux.intel.com> | Tue May 08 15:04:27 2012 -0700 |
tree | 1fa8716c308b8e10156a1caf51d8ff6c98eceea9 | |
parent | bf8b88e97716feb750c3d34492f00d9c085e1183 [diff] [blame] |
x86, realmode: read cr4 and EFER from kernel for 64-bit trampoline This patch changes 64-bit trampoline so that CR4 and EFER are provided by the kernel instead of using fixed values. Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@intel.com> Link: http://lkml.kernel.org/r/1336501366-28617-24-git-send-email-jarkko.sakkinen@intel.com Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
diff --git a/arch/x86/realmode/rm/header.S b/arch/x86/realmode/rm/header.S index b4c3263..4612d53 100644 --- a/arch/x86/realmode/rm/header.S +++ b/arch/x86/realmode/rm/header.S
@@ -9,6 +9,7 @@ .section ".header", "a" + .balign 16 GLOBAL(real_mode_header) .long pa_text_start .long pa_ro_end