summaryrefslogtreecommitdiff
path: root/src/arch/x86/cpuid.hh
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2010-05-02 00:40:17 -0700
committerGabe Black <gblack@eecs.umich.edu>2010-05-02 00:40:17 -0700
commit7524fdda6a85e2b22ebdbcb7a84ddd40b5411e98 (patch)
tree200ed8cf89750cac132f2dd0d0d354cbbe1d6f4a /src/arch/x86/cpuid.hh
parentd75ad847b32e6076a673bc562d6e92c2193221dc (diff)
downloadgem5-7524fdda6a85e2b22ebdbcb7a84ddd40b5411e98.tar.xz
X86: Sometimes CPUID depends on ecx, so pass that in.
Diffstat (limited to 'src/arch/x86/cpuid.hh')
-rw-r--r--src/arch/x86/cpuid.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/arch/x86/cpuid.hh b/src/arch/x86/cpuid.hh
index d8b013ba1..8d3181819 100644
--- a/src/arch/x86/cpuid.hh
+++ b/src/arch/x86/cpuid.hh
@@ -55,7 +55,8 @@ namespace X86ISA
{}
};
- bool doCpuid(ThreadContext * tc, uint32_t function, CpuidResult &result);
+ bool doCpuid(ThreadContext * tc, uint32_t function,
+ uint32_t index, CpuidResult &result);
} // namespace X86ISA
#endif