qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 2/4] Add independent cpu definitions for the coreduo


From: Amit Shah
Subject: [Qemu-devel] [PATCH 2/4] Add independent cpu definitions for the coreduo and core2duo cpu types
Date: Wed, 11 Feb 2009 18:45:12 +0530

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 <address@hidden>
---
 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]