Restructured the gem5 backend:

- FailGem5Device is gone.
- There are now changes directly made to the gem5 source.
- Gem5Connector is a helper class that is compiled inside the gem5 context to workaround problems with gem5 header in fail.

Things that are working:
- BPSingleListener
- MemAccessListener
- Save and restore simulator state

git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1820 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
friemel
2012-10-24 19:19:14 +00:00
parent b41eec3f65
commit e0e95faa5b
18 changed files with 121 additions and 241 deletions

View File

@ -1,12 +1,14 @@
#ifndef __GEM5_CONTROLLER_HPP__
#define __GEM5_CONTROLLER_HPP__
#include <string>
#include "../SimulatorController.hpp"
namespace fail {
/**
* \class Gem5Controller
* gem5-specific implementation of a SimulatorController.
*/
class Gem5Controller : public SimulatorController {
public:
void onBreakpoint(address_t instrPtr, address_t address_space);
@ -18,4 +20,4 @@ public:
} // end-of-namespace: fail
#endif // __GEM_CONTROLLER_HPP__
#endif // __GEM5_CONTROLLER_HPP__