summaryrefslogtreecommitdiff
path: root/src/cpu/o3/thread_context_impl.hh
diff options
context:
space:
mode:
authorMatt Horsnell <matt.horsnell@ARM.com>2013-10-17 10:20:45 -0500
committerMatt Horsnell <matt.horsnell@ARM.com>2013-10-17 10:20:45 -0500
commit6decd70bfbc5eb877e4d897ee3d71d478b564f2d (patch)
tree95c55bcbc5c6641a27365082650c32edddbbce4d /src/cpu/o3/thread_context_impl.hh
parent52f90890a3f1d3a6485fe3804c1de6af654efbc6 (diff)
downloadgem5-6decd70bfbc5eb877e4d897ee3d71d478b564f2d.tar.xz
cpu: add consistent guarding to *_impl.hh files.
Diffstat (limited to 'src/cpu/o3/thread_context_impl.hh')
-rwxr-xr-xsrc/cpu/o3/thread_context_impl.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cpu/o3/thread_context_impl.hh b/src/cpu/o3/thread_context_impl.hh
index 006d325fc..c818260f4 100755
--- a/src/cpu/o3/thread_context_impl.hh
+++ b/src/cpu/o3/thread_context_impl.hh
@@ -42,6 +42,9 @@
* Korey Sewell
*/
+#ifndef __CPU_O3_THREAD_CONTEXT_IMPL_HH__
+#define __CPU_O3_THREAD_CONTEXT_IMPL_HH__
+
#include "arch/kernel_stats.hh"
#include "arch/registers.hh"
#include "config/the_isa.hh"
@@ -297,6 +300,7 @@ O3ThreadContext<Impl>::setMiscRegNoEffect(int misc_reg, const MiscReg &val)
conditionalSquash();
}
+#endif//__CPU_O3_THREAD_CONTEXT_IMPL_HH__
template <class Impl>
void
O3ThreadContext<Impl>::setMiscReg(int misc_reg, const MiscReg &val)