projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9947923
)
base: Fix a bug in the address interleaving
author
Andreas Hansson
<andreas.hansson@arm.com>
Tue, 19 Feb 2013 10:56:05 +0000
(
05:56
-0500)
committer
Andreas Hansson
<andreas.hansson@arm.com>
Tue, 19 Feb 2013 10:56:05 +0000
(
05:56
-0500)
This patch fixes a minor (but important) typo in the matching of an
address to an interleaved range.
src/base/addr_range.hh
patch
|
blob
|
history
diff --git
a/src/base/addr_range.hh
b/src/base/addr_range.hh
index 546d8161155b24a329ad3656aef768411ba3542e..368a96401cfa8a85e50b2d573ad0df9e6154270e 100644
(file)
--- a/
src/base/addr_range.hh
+++ b/
src/base/addr_range.hh
@@
-259,7
+259,7
@@
class AddrRange
// no interleaving, or with interleaving also if the selected
// bits from the address match the interleaving value
return a >= _start && a <= _end &&
- (interleaved() ||
+ (
!
interleaved() ||
(bits(a, intlvHighBit, intlvHighBit - intlvBits + 1) ==
intlvMatch));
}