Files
fail/src/core/sal/gem5/Gem5Controller.hpp

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__