Basic SAL files and makefile modifications for adding gem5.
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1457 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
19
src/core/sal/gem5/Gem5Controller.hpp
Normal file
19
src/core/sal/gem5/Gem5Controller.hpp
Normal file
@ -0,0 +1,19 @@
|
||||
#ifndef __GEM5_CONTROLLER_HPP__
|
||||
#define __GEM5_CONTROLLER_HPP__
|
||||
|
||||
#include "../SimulatorController.hpp"
|
||||
|
||||
namespace fail {
|
||||
|
||||
extern int interrupt_to_fire;
|
||||
|
||||
class Gem5Controller : public SimulatorController {
|
||||
public:
|
||||
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__
|
||||
Reference in New Issue
Block a user