From 6a2b223112d60e4efe14fcf9863a14cde93df82e Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Sat, 10 Sep 2011 02:31:15 -0700 Subject: [PATCH] PseudoInst: Add compiler guards to pseudo_inst.hh. --- src/sim/pseudo_inst.hh | 5 +++++ 1 file changed, 5 insertions(+) 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__ -- 2.30.2