changeset b29d5816936f in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=b29d5816936f
description:
        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 <[email protected]>

diffstat:

 src/arch/x86/cpuid.cc |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (23 lines):

diff -r 80e82ce1978d -r b29d5816936f src/arch/x86/cpuid.cc
--- a/src/arch/x86/cpuid.cc     Mon Nov 16 04:58:39 2015 -0600
+++ b/src/arch/x86/cpuid.cc     Mon Nov 16 04:58:39 2015 -0600
@@ -138,7 +138,8 @@
               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 @@
                                      0xe7dbfbff, 0x04000209);
                 break;
               default:
-                warn("x86 cpuid: unimplemented function %u", funcNum);
+                warn("x86 cpuid family 0x0000: unimplemented function %u",
+                    funcNum);
                 return false;
             }
         } else {
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to