From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LXEvv-0000HB-Em for qemu-devel@nongnu.org; Wed, 11 Feb 2009 08:15:19 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LXEvt-0000GZ-KS for qemu-devel@nongnu.org; Wed, 11 Feb 2009 08:15:18 -0500 Received: from [199.232.76.173] (port=42016 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LXEvt-0000GP-2h for qemu-devel@nongnu.org; Wed, 11 Feb 2009 08:15:17 -0500 Received: from mx2.redhat.com ([66.187.237.31]:58453) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LXEvs-0002nR-Lz for qemu-devel@nongnu.org; Wed, 11 Feb 2009 08:15:16 -0500 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n1BDFGFf007746 for ; Wed, 11 Feb 2009 08:15:16 -0500 From: Amit Shah Date: Wed, 11 Feb 2009 18:45:12 +0530 Message-Id: <1234358114-23390-3-git-send-email-amit.shah@redhat.com> In-Reply-To: <1234358114-23390-2-git-send-email-amit.shah@redhat.com> References: <1234358114-23390-1-git-send-email-amit.shah@redhat.com> <1234358114-23390-2-git-send-email-amit.shah@redhat.com> Subject: [Qemu-devel] [PATCH 2/4] Add independent cpu definitions for the coreduo and core2duo cpu types Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Amit Shah Add these cpu definitions in a separate file which facilitates them to be modified and updated without having to recompile. New definitions can also be added without the need to recompile. The support to actually use these files comes from the patches that follow in this series Signed-off-by: Amit Shah --- qemu/target-i386/cpudefs/core2duo | 18 ++++++++++++++++++ qemu/target-i386/cpudefs/coreduo | 15 +++++++++++++++ 2 files changed, 33 insertions(+), 0 deletions(-) create mode 100644 qemu/target-i386/cpudefs/core2duo create mode 100644 qemu/target-i386/cpudefs/coreduo diff --git a/qemu/target-i386/cpudefs/core2duo b/qemu/target-i386/cpudefs/core2duo new file mode 100644 index 0000000..b794e78 --- /dev/null +++ b/qemu/target-i386/cpudefs/core2duo @@ -0,0 +1,18 @@ +level 10 +family 6 +model 15 +stepping 11 + +# The original CPU also implements these features: +# vme dts acpi ss ht tm pbe + +features ppro_features mtrr clflush mca pse36 pni monitor ssse3 lm syscall nx + +# The original CPU also implements these ext features: +# CPUID_EXT_DTES64, ds_cpl vmx est tm2 cx16 xtpr CPUID_EXT_PDCM + +# The original CPU also implements these ext3 features: +# lahf_lm + +xlevel 0x80000008 +model_id "Intel(R) Core(TM)2 Duo CPU T7700 @ 2.40GHz" diff --git a/qemu/target-i386/cpudefs/coreduo b/qemu/target-i386/cpudefs/coreduo new file mode 100644 index 0000000..4ee95da --- /dev/null +++ b/qemu/target-i386/cpudefs/coreduo @@ -0,0 +1,15 @@ +level 10 +family 6 +model 14 +stepping 8 + +# The original CPU also implements these features: +# dts acpi ss ht tm pbe + +features ppro_features vme mtrr clflush mca pni monitor nx + +# The original CPU also implements these ext features: +# vmx est tm2 xtpr CPUID_EXT_PDCM + +xlevel 0x80000008, +model_id "Genuine Intel(R) CPU T2600 @ 2.16GHz" -- 1.6.0.6