diff options
Diffstat (limited to 'src/mem/physical.hh')
-rw-r--r-- | src/mem/physical.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mem/physical.hh b/src/mem/physical.hh index f027168a4..dae6b42af 100644 --- a/src/mem/physical.hh +++ b/src/mem/physical.hh @@ -70,7 +70,7 @@ class PhysicalMemory : public MemObject virtual void getDeviceAddressRanges(AddrRangeList &resp, bool &snoop); - virtual int deviceBlockSize(); + virtual unsigned deviceBlockSize() const; }; int numPorts; @@ -168,7 +168,7 @@ class PhysicalMemory : public MemObject } public: - int deviceBlockSize(); + unsigned deviceBlockSize() const; void getAddressRanges(AddrRangeList &resp, bool &snoop); virtual Port *getPort(const std::string &if_name, int idx = -1); void virtual init(); |