diff options
author | Andre Przywara <andre.przywara@amd.com> | 2010-03-11 14:38:55 +0100 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2010-03-13 16:50:54 +0100 |
commit | c6dc6f63bf7ee418c0a430a8b3386817ede69940 (patch) | |
tree | 908804c8272af5f1f6ee6539336337da52aa9fdc /Makefile.target | |
parent | a6c6f76ceb95a0986fd1a36cc30f8241734d20c3 (diff) |
x86/cpuid: move CPUID functions into separate file
about half of target-i386/helper.c consist of CPUID related functions.
Only one of them is a real TCG helper function. So move the whole
CPUID stuff out of this into a separate file to get better
maintainable parts.
This is only code reordering and should not affect QEMU's
functionality.
Signed-off-by: Andre Przywara <andre.przywara@amd.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'Makefile.target')
-rw-r--r-- | Makefile.target | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.target b/Makefile.target index 320f807fd4..eb54d7574f 100644 --- a/Makefile.target +++ b/Makefile.target @@ -49,6 +49,9 @@ libobj-y += tcg/tcg.o libobj-$(CONFIG_SOFTFLOAT) += fpu/softfloat.o libobj-$(CONFIG_NOSOFTFLOAT) += fpu/softfloat-native.o libobj-y += op_helper.o helper.o +ifeq ($(TARGET_BASE_ARCH), i386) +libobj-y += cpuid.o +endif libobj-$(CONFIG_NEED_MMU) += mmu.o libobj-$(TARGET_ARM) += neon_helper.o iwmmxt_helper.o |