diff options
author | Bjoern A. Zeeb <baz21@cam.ac.uk> | 2015-11-16 04:58:39 -0600 |
---|---|---|
committer | Bjoern A. Zeeb <baz21@cam.ac.uk> | 2015-11-16 04:58:39 -0600 |
commit | f50e92d2c7931bc5145d0c4f2ec94362a4414160 (patch) | |
tree | 7a28fba5dd58f014ea60e6f364044a47e826dc10 /src/arch/x86 | |
parent | 5c49635f20ddf2ff2740b1f7cbc44f3e1af66e77 (diff) | |
download | gem5-f50e92d2c7931bc5145d0c4f2ec94362a4414160.tar.xz |
x86: cpuid: add family to warn() message
doCpuid() has to identical warn messages about unimplemented functions. Add
the family to the log message to make them distinguishable.
Committed by: Nilay Vaish <nilay@cs.wisc.edu>
Diffstat (limited to 'src/arch/x86')
-rw-r--r-- | src/arch/x86/cpuid.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/arch/x86/cpuid.cc b/src/arch/x86/cpuid.cc index bcafa8d40..e15dcd331 100644 --- a/src/arch/x86/cpuid.cc +++ b/src/arch/x86/cpuid.cc @@ -138,7 +138,8 @@ namespace X86ISA { case TLB1GBPageInfo: case PerformanceInfo:*/ default: - warn("x86 cpuid: unimplemented function %u", funcNum); + warn("x86 cpuid family 0x8000: unimplemented function %u", + funcNum); return false; } } else if(family == 0x0000) { @@ -157,7 +158,8 @@ namespace X86ISA { 0xe7dbfbff, 0x04000209); break; default: - warn("x86 cpuid: unimplemented function %u", funcNum); + warn("x86 cpuid family 0x0000: unimplemented function %u", + funcNum); return false; } } else { |