diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2011-09-10 02:31:15 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2011-09-10 02:31:15 -0700 |
commit | 6a2b223112d60e4efe14fcf9863a14cde93df82e (patch) | |
tree | fca77336036777a90a8053db820d58ce75247425 | |
parent | 49a7ed0397954f555f5fb4272334e606a3048c59 (diff) | |
download | gem5-6a2b223112d60e4efe14fcf9863a14cde93df82e.tar.xz |
PseudoInst: Add compiler guards to pseudo_inst.hh.
-rw-r--r-- | src/sim/pseudo_inst.hh | 5 |
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__ |