summaryrefslogtreecommitdiff
path: root/src/arch/x86
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/arch/x86
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/arch/x86')
-rw-r--r--src/arch/x86/mmapped_ipr.hh (renamed from src/arch/x86/mmaped_ipr.hh)6
-rw-r--r--src/arch/x86/tlb.cc4
2 files changed, 5 insertions, 5 deletions
diff --git a/src/arch/x86/mmaped_ipr.hh b/src/arch/x86/mmapped_ipr.hh
index 82fe95cef..525f54bfb 100644
--- a/src/arch/x86/mmaped_ipr.hh
+++ b/src/arch/x86/mmapped_ipr.hh
@@ -37,8 +37,8 @@
* Authors: Gabe Black
*/
-#ifndef __ARCH_X86_MMAPEDIPR_HH__
-#define __ARCH_X86_MMAPEDIPR_HH__
+#ifndef __ARCH_X86_MMAPPEDIPR_HH__
+#define __ARCH_X86_MMAPPEDIPR_HH__
/**
* @file
@@ -89,4 +89,4 @@ namespace X86ISA
}
};
-#endif // __ARCH_X86_MMAPEDIPR_HH__
+#endif // __ARCH_X86_MMAPPEDIPR_HH__
diff --git a/src/arch/x86/tlb.cc b/src/arch/x86/tlb.cc
index dff62a4d7..ac32e86d7 100644
--- a/src/arch/x86/tlb.cc
+++ b/src/arch/x86/tlb.cc
@@ -179,7 +179,7 @@ TLB::translateInt(RequestPtr req, ThreadContext *tc)
panic("CPUID memory space not yet implemented!\n");
} else if (prefix == IntAddrPrefixMSR) {
vaddr = vaddr >> 3;
- req->setFlags(Request::MMAPED_IPR);
+ req->setFlags(Request::MMAPPED_IPR);
Addr regNum = 0;
switch (vaddr & ~IntAddrPrefixMask) {
case 0x10:
@@ -508,7 +508,7 @@ TLB::translateInt(RequestPtr req, ThreadContext *tc)
// space.
assert(!(IOPort & ~0xFFFF));
if (IOPort == 0xCF8 && req->getSize() == 4) {
- req->setFlags(Request::MMAPED_IPR);
+ req->setFlags(Request::MMAPPED_IPR);
req->setPaddr(MISCREG_PCI_CONFIG_ADDRESS * sizeof(MiscReg));
} else if ((IOPort & ~mask(2)) == 0xCFC) {
req->setFlags(Request::UNCACHEABLE);