projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49a7ed0
)
PseudoInst: Add compiler guards to pseudo_inst.hh.
author
Gabe Black
<gblack@eecs.umich.edu>
Sat, 10 Sep 2011 09:31:15 +0000
(
02:31
-0700)
committer
Gabe Black
<gblack@eecs.umich.edu>
Sat, 10 Sep 2011 09:31:15 +0000
(
02:31
-0700)
src/sim/pseudo_inst.hh
patch
|
blob
|
history
diff --git
a/src/sim/pseudo_inst.hh
b/src/sim/pseudo_inst.hh
index aec3b5d8ad2d378260f014662f5895d36f14502e..25ecbc029740414405038ec0ea556e47c28389c3 100644
(file)
--- 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__