X86ISA::ITB *
X86ITBParams::create()
{
- return new X86ISA::ITB(name);
+ return new X86ISA::ITB(this);
}
X86ISA::DTB *
X86DTBParams::create()
{
- return new X86ISA::DTB(name);
+ return new X86ISA::DTB(this);
}
#define __ARCH_X86_TLB_HH__
#include <iostream>
-#include <string>
#include "sim/host.hh"
#include "sim/tlb.hh"
class ITB : public GenericTLB
{
public:
- ITB(const std::string &name) : GenericTLB(name)
+ ITB(const Params *p) : GenericTLB(p)
{}
};
class DTB : public GenericTLB
{
public:
- DTB(const std::string &name) : GenericTLB(name)
+ DTB(const Params *p) : GenericTLB(p)
{}
};
};
namespace Trace {
-NativeTrace::NativeTrace(const std::string & _name) : InstTracer(_name)
+NativeTrace::NativeTrace(const Params *p) : InstTracer(p)
{
int port = 8000;
while(!native_listener.listen(port, true))
Trace::NativeTrace *
NativeTraceParams::create()
{
- return new Trace::NativeTrace(name);
+ return new Trace::NativeTrace(this);
};
bool
checkR11Reg(const char * regName, uint64_t &, uint64_t &);
- NativeTrace(const std::string & name);
+ NativeTrace(const Params *p);
NativeTraceRecord *
getInstRecord(Tick when, ThreadContext *tc,