summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-08-26 20:40:42 -0700
committerGabe Black <gblack@eecs.umich.edu>2007-08-26 20:40:42 -0700
commitac5ec1542e92d0e27b0aa1a156b15ca7b00cc693 (patch)
treea2a4bcb6c1ae1504ca919a42389611a063047a24
parent8b738f7f125a90b482aa7b3637cd5c49d78701fe (diff)
downloadgem5-ac5ec1542e92d0e27b0aa1a156b15ca7b00cc693.tar.xz
X86: Return values for some cpuid functions that match what my development machine returns.
--HG-- extra : convert_revision : e6619da11f43bbe025ceabd06387dd24e1cd883b
-rw-r--r--src/arch/x86/isa/insts/processor_information.py27
1 files changed, 12 insertions, 15 deletions
diff --git a/src/arch/x86/isa/insts/processor_information.py b/src/arch/x86/isa/insts/processor_information.py
index 4c18cb954..9cad8181c 100644
--- a/src/arch/x86/isa/insts/processor_information.py
+++ b/src/arch/x86/isa/insts/processor_information.py
@@ -139,11 +139,10 @@ extendedStart:
# EBX: BrandId Identifier
# ECX: Feature Identifiers
# EDX: Feature Identifiers
- # JUNK VALUES
- limm rax, 0x80000018, dataSize=4
- limm rbx, 0x68747541, dataSize=4
- limm rdx, 0x69746e65, dataSize=4
- limm rcx, 0x444d4163, dataSize=4
+ limm rax, 0x00020f51, dataSize=4
+ limm rbx, 0x00000405, dataSize=4
+ limm rdx, 0xe3d3fbff, dataSize=4
+ limm rcx, 0x00000001, dataSize=4
bri t0, label("end")
fault "NoFault"
fault "NoFault"
@@ -183,22 +182,20 @@ extendedStart:
fault "NoFault"
# 0x80000005 -- L1 Cache and TLB Identifiers
- # JUNK VALUES
- limm rax, 0x80000018, dataSize=4
- limm rbx, 0x68747541, dataSize=4
- limm rdx, 0x69746e65, dataSize=4
- limm rcx, 0x444d4163, dataSize=4
+ limm rax, 0xff08ff08, dataSize=4
+ limm rbx, 0xff20ff20, dataSize=4
+ limm rdx, 0x40020140, dataSize=4
+ limm rcx, 0x40020140, dataSize=4
bri t0, label("end")
fault "NoFault"
fault "NoFault"
fault "NoFault"
# 0x80000006 -- L2/L3 Cache and L2 TLB Identifiers
- # JUNK VALUES
- limm rax, 0x80000018, dataSize=4
- limm rbx, 0x68747541, dataSize=4
- limm rdx, 0x69746e65, dataSize=4
- limm rcx, 0x444d4163, dataSize=4
+ limm rax, 0x00000000, dataSize=4
+ limm rbx, 0x42004200, dataSize=4
+ limm rdx, 0x00000000, dataSize=4
+ limm rcx, 0x04008140, dataSize=4
bri t0, label("end")
fault "NoFault"
fault "NoFault"