summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/base/addr_range.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/addr_range.hh b/src/base/addr_range.hh
index 1620a00d3..7f275e5a9 100644
--- a/src/base/addr_range.hh
+++ b/src/base/addr_range.hh
@@ -142,7 +142,7 @@ class AddrRange
*/
uint64_t granularity() const
{
- return ULL(1) << (intlvHighBit - intlvBits);
+ return ULL(1) << (intlvHighBit - intlvBits + 1);
}
/**