summaryrefslogtreecommitdiff
path: root/src/arch/alpha
diff options
context:
space:
mode:
authorSteve Reinhardt <steve.reinhardt@amd.com>2011-01-03 14:35:43 -0800
committerSteve Reinhardt <steve.reinhardt@amd.com>2011-01-03 14:35:43 -0800
commitc69d48f007d2521fdbea52a0a7a95cfc4a547174 (patch)
tree59a866d2f48310090b5dd18dad0095029314cb6f /src/arch/alpha
parent1a10ccc5e551857fc3a7c049df99547ccfe3f72b (diff)
downloadgem5-c69d48f007d2521fdbea52a0a7a95cfc4a547174.tar.xz
Make commenting on close namespace brackets consistent.
Ran all the source files through 'perl -pi' with this script: s|\s*(};?\s*)?/\*\s*(end\s*)?namespace\s*(\S+)\s*\*/(\s*})?|} // namespace $3|; s|\s*};?\s*//\s*(end\s*)?namespace\s*(\S+)\s*|} // namespace $2\n|; s|\s*};?\s*//\s*(\S+)\s*namespace\s*|} // namespace $1\n|; Also did a little manual editing on some of the arch/*/isa_traits.hh files and src/SConscript.
Diffstat (limited to 'src/arch/alpha')
-rw-r--r--src/arch/alpha/mt.hh2
-rw-r--r--src/arch/alpha/pagetable.cc2
-rw-r--r--src/arch/alpha/tlb.cc2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/arch/alpha/mt.hh b/src/arch/alpha/mt.hh
index 88ab01e32..57cf90f79 100644
--- a/src/arch/alpha/mt.hh
+++ b/src/arch/alpha/mt.hh
@@ -66,6 +66,6 @@ getTargetThread(TC *tc)
return 0;
}
-}//namespace AlphaISA
+} // namespace AlphaISA
#endif
diff --git a/src/arch/alpha/pagetable.cc b/src/arch/alpha/pagetable.cc
index 6640e72e2..4dff04777 100644
--- a/src/arch/alpha/pagetable.cc
+++ b/src/arch/alpha/pagetable.cc
@@ -61,4 +61,4 @@ TlbEntry::unserialize(Checkpoint *cp, const std::string &section)
UNSERIALIZE_SCALAR(valid);
}
-} //namespace AlphaISA
+} // namespace AlphaISA
diff --git a/src/arch/alpha/tlb.cc b/src/arch/alpha/tlb.cc
index 614061ddd..58d54e790 100644
--- a/src/arch/alpha/tlb.cc
+++ b/src/arch/alpha/tlb.cc
@@ -595,7 +595,7 @@ TLB::translateTiming(RequestPtr req, ThreadContext *tc,
translation->finish(translateAtomic(req, tc, mode), req, tc, mode);
}
-/* end namespace AlphaISA */ }
+} // namespace AlphaISA
AlphaISA::TLB *
AlphaTLBParams::create()