void serialize(std::ostream &os);
void unserialize(Checkpoint *cp, const std::string §ion);
+ TranslatingPort *getMemPort() { return port; }
+
BaseCPU *getCpuPtr() { return cpu; }
ExecContext *getProxy() { return proxy; }
Halted
};
- TranslatingPort * port;
-
virtual ~ExecContext() { };
+ virtual TranslatingPort *getMemPort() = 0;
+
virtual BaseCPU *getCpuPtr() = 0;
virtual void setCpuId(int id) = 0;
public:
+ TranslatingPort *getMemPort() { return actualXC->getMemPort(); }
+
BaseCPU *getCpuPtr() { return actualXC->getCpuPtr(); }
void setCpuId(int id) { actualXC->setCpuId(id); }