bus: removed outdated warn regarding 64 B block sizes
authorAnthony Gutierrez <atgutier@umich.edu>
Thu, 20 Sep 2012 21:25:52 +0000 (17:25 -0400)
committerAnthony Gutierrez <atgutier@umich.edu>
Thu, 20 Sep 2012 21:25:52 +0000 (17:25 -0400)
this warn is outdated as 64 B blocks are very common, and even
the default size for some CPU types. E.g., arm_detailed.

src/mem/bus.cc

index 75ece9bc85df132a8564c277abf8ee37a652e090..ba45bfcb5ca5ca293c63049ac329bb1247a411e8 100644 (file)
@@ -483,8 +483,8 @@ BaseBus::findBlockSize()
     if (max_bs == 0)
         max_bs = defaultBlockSize;
 
-    if (max_bs != 64)
-        warn_once("Blocksize found to not be 64... hmm... probably not.\n");
+    if (max_bs != 64 && max_bs != 32)
+        warn_once("Blocksize found to not be 32 or 64... hmm... probably not.\n");
     cachedBlockSize = max_bs;
     cachedBlockSizeValid = true;
     return max_bs;