Gem5: Implemented MemoryManager

git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1863 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
friemel
2012-10-28 23:50:08 +00:00
parent 66fe662495
commit 247fed5aa7
2 changed files with 85 additions and 0 deletions

View File

@ -2,6 +2,9 @@
#define __GEM5_CONTROLLER_HPP__
#include "../SimulatorController.hpp"
#include "Gem5Memory.hpp"
#include "sim/system.hh"
namespace fail {
@ -11,6 +14,13 @@ namespace fail {
*/
class Gem5Controller : public SimulatorController {
public:
void startup()
{
SimulatorController::startup();
m_Mem = new Gem5MemoryManager(System::systemList.front());
}
void onBreakpoint(address_t instrPtr, address_t address_space);
bool save(const std::string &path);