git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1604 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
24 lines
483 B
C++
24 lines
483 B
C++
#ifndef __GEM5_CONTROLLER_HPP__
|
|
#define __GEM5_CONTROLLER_HPP__
|
|
|
|
#include <string>
|
|
|
|
#include "../SimulatorController.hpp"
|
|
|
|
namespace fail {
|
|
|
|
extern int interrupt_to_fire;
|
|
|
|
class Gem5Controller : public SimulatorController {
|
|
public:
|
|
void onBreakpoint(address_t instrPtr, address_t address_space);
|
|
|
|
virtual void save(const std::string &path);
|
|
virtual void restore(const std::string &path);
|
|
virtual void reboot();
|
|
};
|
|
|
|
} // end-of-namespace: fail
|
|
|
|
#endif // __GEM_CONTROLLER_HPP__
|