diff options
Diffstat (limited to 'src/mem/bus.hh')
-rw-r--r-- | src/mem/bus.hh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mem/bus.hh b/src/mem/bus.hh index 541e2f363..95699cf22 100644 --- a/src/mem/bus.hh +++ b/src/mem/bus.hh @@ -228,9 +228,9 @@ class BaseBus : public MemObject }; /** cycles of overhead per transaction */ - int headerCycles; + const Cycles headerCycles; /** the width of the bus in bytes */ - int width; + const uint32_t width; typedef AddrRangeMap<PortID>::iterator PortMapIter; typedef AddrRangeMap<PortID>::const_iterator PortMapConstIter; @@ -346,10 +346,10 @@ class BaseBus : public MemObject address not handled by another port and not in default device's range will cause a fatal error. If false, just send all addresses not handled by another port to default device. */ - bool useDefaultRange; + const bool useDefaultRange; - unsigned defaultBlockSize; - unsigned cachedBlockSize; + const uint32_t defaultBlockSize; + uint32_t cachedBlockSize; bool cachedBlockSizeValid; BaseBus(const BaseBusParams *p); |