linux_dsm_epyc7002/arch/x86/boot/compressed
Kees Cook dd78b97367 x86, boot: Move CPU flags out of cpucheck
Refactor the CPU flags handling out of the cpucheck routines so that
they can be reused by the future ASLR routines (in order to detect CPU
features like RDRAND and RDTSC).

This reworks has_eflag() and has_fpu() to be used on both 32-bit and
64-bit, and refactors the calls to cpuid to make them PIC-safe on 32-bit.

Signed-off-by: Kees Cook <keescook@chromium.org>
Link: http://lkml.kernel.org/r/1381450698-28710-2-git-send-email-keescook@chromium.org
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
2013-10-13 03:12:02 -07:00
..
.gitignore x86, boot: add new generated files to the appropriate .gitignore files 2009-06-02 21:13:30 -07:00
cmdline.c x86, boot: Support loading bzImage, boot_params and ramdisk above 4G 2013-01-29 19:32:33 -08:00
cpuflags.c x86, boot: Move CPU flags out of cpucheck 2013-10-13 03:12:02 -07:00
early_serial_console.c x86, boot: Exclude early_serial_console.c if can't use it. 2012-07-21 11:07:34 -07:00
eboot.c x86, efi: correct call to free_pages 2013-07-26 15:22:32 +01:00
eboot.h X86: Improve GOP detection in the EFI boot stub 2012-09-17 13:29:20 +01:00
efi_stub_32.S x86, efi: EFI boot stub support 2011-12-12 14:26:10 -08:00
efi_stub_64.S x86, efi: EFI boot stub support 2011-12-12 14:26:10 -08:00
head_32.S x86, relocs: Move ELF relocation handling to C 2013-08-07 21:00:04 -07:00
head_64.S x86, relocs: Move ELF relocation handling to C 2013-08-07 21:00:04 -07:00
Makefile x86, boot: Move CPU flags out of cpucheck 2013-10-13 03:12:02 -07:00
misc.c x86, relocs: Move ELF relocation handling to C 2013-08-07 21:00:04 -07:00
misc.h x86, boot: Sanitize boot_params if not zeroed on creation 2013-01-29 01:22:17 -08:00
mkpiggy.c x86, mkpiggy: Don't open code put_unaligned_le32() 2012-02-28 10:22:57 -08:00
string.c x86, efi: EFI boot stub support 2011-12-12 14:26:10 -08:00
vmlinux.lds.S x86, setup: Allow global variables and functions in the decompressor 2010-08-02 15:34:44 -07:00