x86, realmode: read cr4 and EFER from kernel for 64-bit trampoline
authorJarkko Sakkinen <jarkko.sakkinen@intel.com>
Tue, 8 May 2012 18:22:46 +0000 (21:22 +0300)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 8 May 2012 22:04:27 +0000 (15:04 -0700)
commitcda846f101fb1396b6924f1d9b68ac3d42de5403
tree1fa8716c308b8e10156a1caf51d8ff6c98eceea9
parentbf8b88e97716feb750c3d34492f00d9c085e1183
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>
arch/x86/include/asm/processor.h
arch/x86/include/asm/realmode.h
arch/x86/kernel/realmode.c
arch/x86/kernel/setup.c
arch/x86/realmode/rm/header.S
arch/x86/realmode/rm/trampoline_64.S
arch/x86/realmode/rm/trampoline_common.S