changeset 9678812ccb62 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=9678812ccb62
description:
        PseudoInst: Add compiler guards to pseudo_inst.hh.

diffstat:

 src/sim/pseudo_inst.hh |  5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diffs (19 lines):

diff -r 7230ff0738e3 -r 9678812ccb62 src/sim/pseudo_inst.hh
--- a/src/sim/pseudo_inst.hh    Fri Sep 09 02:40:11 2011 -0700
+++ b/src/sim/pseudo_inst.hh    Sat Sep 10 02:31:15 2011 -0700
@@ -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 workend(ThreadContext *tc, uint64_t workid, uint64_t threadid);
 
 } // namespace PseudoInst
+
+#endif // __SIM_PSEUDO_INST_HH__
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to