PseudoInst::loadsymbol(xc->tcBase());
}}, No_OpClass, IsNonSpeculative);
0x30: initparam({{
- Ra = xc->tcBase()->getCpuPtr()->system->init_param;
+ Ra = PseudoInst::initParam(xc->tcBase());
}});
#endif
0x40: resetstats({{
initparamCode = '''
#if FULL_SYSTEM
- Rt = xc->tcBase()->getCpuPtr()->system->init_param;
+ Rt = PseudoInst::initParam(xc->tcBase());
#endif
'''
}}, IsNonSpeculative);
#if FULL_SYSTEM
0x30: m5initparam({{
- Rax = xc->tcBase()->getCpuPtr()->
- system->init_param;
+ Rax = PseudoInst::initParam(xc->tcBase());
}}, IsNonSpeculative);
0x31: m5loadsymbol({{
PseudoInst::loadsymbol(xc->tcBase());
debugSymbolTable->insert(addr,symbol);
}
+uint64_t
+initParam(ThreadContext *tc)
+{
+ return tc->getCpuPtr()->system->init_param;
+}
+
#endif
uint64_t offset);
void loadsymbol(ThreadContext *xc);
void addsymbol(ThreadContext *tc, Addr addr, Addr symbolAddr);
+uint64_t initParam(ThreadContext *xc);
#endif
uint64_t rpns(ThreadContext *tc);