diff options
Diffstat (limited to 'src/mem')
-rw-r--r-- | src/mem/physical.cc | 2 | ||||
-rw-r--r-- | src/mem/request.hh | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/mem/physical.cc b/src/mem/physical.cc index a134165bc..e7c96ab54 100644 --- a/src/mem/physical.cc +++ b/src/mem/physical.cc @@ -548,7 +548,7 @@ PhysicalMemory::unserialize(Checkpoint *cp, const string §ion) fatal("Insufficient memory to allocate compression state for %s\n", filename); - // unmap file that was mmaped in the constructor + // unmap file that was mmapped in the constructor // This is done here to make sure that gzip and open don't muck with our // nice large space of memory before we reallocate it munmap((char*)pmemAddr, size()); diff --git a/src/mem/request.hh b/src/mem/request.hh index ec1b8ba29..4aa3a821a 100644 --- a/src/mem/request.hh +++ b/src/mem/request.hh @@ -70,7 +70,7 @@ class Request : public FastAlloc /** The request is to an uncacheable address. */ static const FlagsType UNCACHEABLE = 0x00001000; /** This request is to a memory mapped register. */ - static const FlagsType MMAPED_IPR = 0x00002000; + static const FlagsType MMAPPED_IPR = 0x00002000; /** This request is a clear exclusive. */ static const FlagsType CLEAR_LL = 0x00004000; @@ -453,7 +453,7 @@ class Request : public FastAlloc bool isLocked() const { return _flags.isSet(LOCKED); } bool isSwap() const { return _flags.isSet(MEM_SWAP|MEM_SWAP_COND); } bool isCondSwap() const { return _flags.isSet(MEM_SWAP_COND); } - bool isMmapedIpr() const { return _flags.isSet(MMAPED_IPR); } + bool isMmappedIpr() const { return _flags.isSet(MMAPPED_IPR); } bool isClearLL() const { return _flags.isSet(CLEAR_LL); } }; |