summaryrefslogtreecommitdiff
path: root/src/sim/pseudo_inst.hh
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2011-09-10 02:31:15 -0700
committerGabe Black <gblack@eecs.umich.edu>2011-09-10 02:31:15 -0700
commit6a2b223112d60e4efe14fcf9863a14cde93df82e (patch)
treefca77336036777a90a8053db820d58ce75247425 /src/sim/pseudo_inst.hh
parent49a7ed0397954f555f5fb4272334e606a3048c59 (diff)
downloadgem5-6a2b223112d60e4efe14fcf9863a14cde93df82e.tar.xz
PseudoInst: Add compiler guards to pseudo_inst.hh.
Diffstat (limited to 'src/sim/pseudo_inst.hh')
-rw-r--r--src/sim/pseudo_inst.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sim/pseudo_inst.hh b/src/sim/pseudo_inst.hh
index aec3b5d8a..25ecbc029 100644
--- a/src/sim/pseudo_inst.hh
+++ b/src/sim/pseudo_inst.hh
@@ -28,6 +28,9 @@
* Authors: Nathan Binkert
*/
+#ifndef __SIM_PSEUDO_INST_HH__
+#define __SIM_PSEUDO_INST_HH__
+
class ThreadContext;
//We need the "Tick" and "Addr" data types from here
@@ -68,3 +71,5 @@ void workbegin(ThreadContext *tc, uint64_t workid, uint64_t threadid);
void workend(ThreadContext *tc, uint64_t workid, uint64_t threadid);
} // namespace PseudoInst
+
+#endif // __SIM_PSEUDO_INST_HH__