projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a731f8f
)
bus: removed outdated warn regarding 64 B block sizes
author
Anthony Gutierrez
<atgutier@umich.edu>
Thu, 20 Sep 2012 21:25:52 +0000
(17:25 -0400)
committer
Anthony 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
patch
|
blob
|
history
diff --git
a/src/mem/bus.cc
b/src/mem/bus.cc
index 75ece9bc85df132a8564c277abf8ee37a652e090..ba45bfcb5ca5ca293c63049ac329bb1247a411e8 100644
(file)
--- 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;