summaryrefslogtreecommitdiff
path: root/kern/tru64/tru64_events.hh
diff options
context:
space:
mode:
authorLisa Hsu <hsul@eecs.umich.edu>2004-05-13 11:40:07 -0400
committerLisa Hsu <hsul@eecs.umich.edu>2004-05-13 11:40:07 -0400
commit7f28ae6b01b08f166c81adc10139671e6e098780 (patch)
tree92d6dc31fb0882545afbc895e977bcbd6176a914 /kern/tru64/tru64_events.hh
parent2cc4fd87eb643c81d37954cbf4a226e78ebd34bc (diff)
downloadgem5-7f28ae6b01b08f166c81adc10139671e6e098780.tar.xz
lift some things out of the tru64 directory into common directory so linux can use it without replication later.
kern/tru64/tru64_events.cc: kern/tru64/tru64_events.hh: lift out SkipFuncEvent and FnEvents since these can be used by any OS. kern/tru64/tru64_system.cc: add system_events (the common OS events file) --HG-- extra : convert_revision : 4d7a843d67459af4d77e433ae3c1b0fbc5f0b56b
Diffstat (limited to 'kern/tru64/tru64_events.hh')
-rw-r--r--kern/tru64/tru64_events.hh22
1 files changed, 1 insertions, 21 deletions
diff --git a/kern/tru64/tru64_events.hh b/kern/tru64/tru64_events.hh
index 96e6a8b26..bcf33d686 100644
--- a/kern/tru64/tru64_events.hh
+++ b/kern/tru64/tru64_events.hh
@@ -32,19 +32,10 @@
#include <string>
#include "cpu/pc_event.hh"
+#include "kern/system_events.hh"
class ExecContext;
-class System;
-
-class SkipFuncEvent : public PCEvent
-{
- public:
- SkipFuncEvent(PCEventQueue *q, const std::string &desc)
- : PCEvent(q, desc) {}
- virtual void process(ExecContext *xc);
-};
-
class BadAddrEvent : public SkipFuncEvent
{
public:
@@ -80,15 +71,4 @@ class DumpMbufEvent : public PCEvent
virtual void process(ExecContext *xc);
};
-class FnEvent : public PCEvent
-{
- public:
- FnEvent(PCEventQueue *q, const std::string &desc, System *system);
- virtual void process(ExecContext *xc);
- std::string myname() const { return _name; }
-
- private:
- std::string _name;
- Statistics::MainBin *myBin;
-};
#endif // __TRU64_EVENTS_HH__