using namespace FreeBSD;
FreebsdArmSystem::FreebsdArmSystem(Params *p)
- : GenericArmSystem(p), dumpStatsPCEventF(nullptr),
+ : GenericArmSystem(p),
enableContextSwitchStatsDump(p->enable_context_switch_stats_dump),
taskFile(nullptr), kernelPanicEvent(nullptr), kernelOopsEvent(nullptr)
{
delete uDelaySkipEvent;
if (constUDelaySkipEvent)
delete constUDelaySkipEvent;
-
- if (dumpStatsPCEventF)
- delete dumpStatsPCEventF;
}
FreebsdArmSystem *
#include "params/FreebsdArmSystem.hh"
#include "sim/core.hh"
-class DumpStatsPCEventF;
-
class FreebsdArmSystem : public GenericArmSystem
{
- protected:
- DumpStatsPCEventF *dumpStatsPCEventF;
-
public:
/** Boilerplate params code */
typedef FreebsdArmSystemParams Params;
Addr bootReleaseAddr;
};
-class DumpStatsPCEventF : public PCEvent
-{
- public:
- DumpStatsPCEventF(PCEventQueue *q, const std::string &desc, Addr addr)
- : PCEvent(q, desc, addr)
- {}
-
- virtual void process(ThreadContext* tc);
-};
-
-
#endif // __ARCH_ARM_FREEBSD_SYSTEM_HH__