qemu: MemWriteListener specialization

git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1619 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
hsc
2012-09-12 14:07:15 +00:00
parent a8756f3d0a
commit d40113c535
8 changed files with 64 additions and 13 deletions

View File

@ -10,6 +10,8 @@
#include "../SimulatorController.hpp"
#include "../Listener.hpp"
struct CPUX86State;
namespace fail {
class ExperimentFlow;
@ -19,8 +21,9 @@ class ExperimentFlow;
* Very rudimentary, QEMU-specific implementation of a SimulatorController.
*/
class QEMUController : public SimulatorController {
private:
public:
CPUX86State *m_cpuenv;
// Initialize the controller.
QEMUController();
~QEMUController();
@ -52,6 +55,8 @@ public:
* Reboot simulator. Clears all Listeners. TODO.
*/
void reboot() {}
/* internal, QEMU-specific stuff */
void setCPUEnv(struct CPUX86State *env) { m_cpuenv = env; }
};
} // end-of-namespace: fail