summaryrefslogtreecommitdiff
path: root/src/cpu/o3/decode_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/decode_impl.hh
parent52f90890a3f1d3a6485fe3804c1de6af654efbc6 (diff)
downloadgem5-6decd70bfbc5eb877e4d897ee3d71d478b564f2d.tar.xz
cpu: add consistent guarding to *_impl.hh files.
Diffstat (limited to 'src/cpu/o3/decode_impl.hh')
-rw-r--r--src/cpu/o3/decode_impl.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cpu/o3/decode_impl.hh b/src/cpu/o3/decode_impl.hh
index 9ab672931..c78e7f211 100644
--- a/src/cpu/o3/decode_impl.hh
+++ b/src/cpu/o3/decode_impl.hh
@@ -40,6 +40,9 @@
* Authors: Kevin Lim
*/
+#ifndef __CPU_O3_DECODE_IMPL_HH__
+#define __CPU_O3_DECODE_IMPL_HH__
+
#include "arch/types.hh"
#include "base/trace.hh"
#include "config/the_isa.hh"
@@ -767,3 +770,5 @@ DefaultDecode<Impl>::decodeInsts(ThreadID tid)
wroteToTimeBuffer = true;
}
}
+
+#endif//__CPU_O3_DECODE_IMPL_HH__