changeset 3ee9e6c2e8f7 in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=3ee9e6c2e8f7
description:
Fault: Move the definition of NoFault from faults.hh to fault.hh.
Moving the definition of NoFault into fault.hh doesn't bring any new
dependencies with it, and allows some files to include just fault.hh
which has
less baggage. NoFault will still be available to everything that
includes
faults.hh because it includes fault.hh.
diffstat:
src/sim/fault.hh | 2 ++
src/sim/faults.hh | 2 --
2 files changed, 2 insertions(+), 2 deletions(-)
diffs (22 lines):
diff -r 31a04e5ac4be -r 3ee9e6c2e8f7 src/sim/fault.hh
--- a/src/sim/fault.hh Sat Jan 22 21:48:06 2011 -0800
+++ b/src/sim/fault.hh Mon Jan 31 13:13:00 2011 -0800
@@ -35,4 +35,6 @@
template <class T> class RefCountingPtr;
typedef RefCountingPtr<FaultBase> Fault;
+FaultBase * const NoFault = 0;
+
#endif // __SIM_FAULT_HH__
diff -r 31a04e5ac4be -r 3ee9e6c2e8f7 src/sim/faults.hh
--- a/src/sim/faults.hh Sat Jan 22 21:48:06 2011 -0800
+++ b/src/sim/faults.hh Mon Jan 31 13:13:00 2011 -0800
@@ -61,8 +61,6 @@
virtual bool isAlignmentFault() const {return false;}
};
-FaultBase * const NoFault = 0;
-
class UnimpFault : public FaultBase
{
private:
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev