summaryrefslogtreecommitdiff
path: root/src/cpu/ozone/cpu_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/ozone/cpu_impl.hh
parent52f90890a3f1d3a6485fe3804c1de6af654efbc6 (diff)
downloadgem5-6decd70bfbc5eb877e4d897ee3d71d478b564f2d.tar.xz
cpu: add consistent guarding to *_impl.hh files.
Diffstat (limited to 'src/cpu/ozone/cpu_impl.hh')
-rw-r--r--src/cpu/ozone/cpu_impl.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cpu/ozone/cpu_impl.hh b/src/cpu/ozone/cpu_impl.hh
index b4b49a55b..ff99cc7f6 100644
--- a/src/cpu/ozone/cpu_impl.hh
+++ b/src/cpu/ozone/cpu_impl.hh
@@ -30,6 +30,9 @@
* Nathan Binkert
*/
+#ifndef __CPU_OZONE_CPU_IMPL_HH__
+#define __CPU_OZONE_CPU_IMPL_HH__
+
#include "arch/alpha/osfpal.hh"
#include "arch/isa_traits.hh" // For MachInst
#include "arch/kernel_stats.hh"
@@ -868,6 +871,8 @@ OzoneCPU<Impl>::OzoneTC::setMiscRegNoEffect(int misc_reg, const MiscReg &val)
}
}
+#endif//__CPU_OZONE_CPU_IMPL_HH__
+
template <class Impl>
void
OzoneCPU<Impl>::OzoneTC::setMiscReg(int misc_reg, const MiscReg &val)