summaryrefslogtreecommitdiff
path: root/src/mem
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2011-03-01 23:18:47 -0800
committerGabe Black <gblack@eecs.umich.edu>2011-03-01 23:18:47 -0800
commit579c5f0b65290b46687273fc58bab5f6f2d17e07 (patch)
tree2c35ef0e67cbb76ef2e58ee49f6c2af098a447b3 /src/mem
parente8b982e247ad0f096467b85b9018e44c7b89d037 (diff)
downloadgem5-579c5f0b65290b46687273fc58bab5f6f2d17e07.tar.xz
Spelling: Fix the a spelling error by changing mmaped to mmapped.
There may not be a formally correct spelling for the past tense of mmap, but mmapped is the spelling Google doesn't try to autocorrect. This makes sense because it mirrors the past tense of map->mapped and not the past tense of cape->caped. --HG-- rename : src/arch/alpha/mmaped_ipr.hh => src/arch/alpha/mmapped_ipr.hh rename : src/arch/arm/mmaped_ipr.hh => src/arch/arm/mmapped_ipr.hh rename : src/arch/mips/mmaped_ipr.hh => src/arch/mips/mmapped_ipr.hh rename : src/arch/power/mmaped_ipr.hh => src/arch/power/mmapped_ipr.hh rename : src/arch/sparc/mmaped_ipr.hh => src/arch/sparc/mmapped_ipr.hh rename : src/arch/x86/mmaped_ipr.hh => src/arch/x86/mmapped_ipr.hh
Diffstat (limited to 'src/mem')
-rw-r--r--src/mem/physical.cc2
-rw-r--r--src/mem/request.hh4
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 &section)
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); }
};