summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Gutierrez <atgutier@umich.edu>2012-09-20 17:25:52 -0400
committerAnthony Gutierrez <atgutier@umich.edu>2012-09-20 17:25:52 -0400
commit9cd0c5ecc896690d923d443f3d419a05aec79ac1 (patch)
tree23786b5e4520fb5a85f25ad12d5462c0fdc2a9ba
parenta731f8f9dd62c80e4c927789afeb3a2efae4d64c (diff)
downloadgem5-9cd0c5ecc896690d923d443f3d419a05aec79ac1.tar.xz
bus: removed outdated warn regarding 64 B block sizes
this warn is outdated as 64 B blocks are very common, and even the default size for some CPU types. E.g., arm_detailed.
-rw-r--r--src/mem/bus.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mem/bus.cc b/src/mem/bus.cc
index 75ece9bc8..ba45bfcb5 100644
--- a/src/mem/bus.cc
+++ b/src/mem/bus.cc
@@ -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;