You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// calculate the offset from the base for the register and get the mask.
52
52
53
+
// LOGP(info, "get reg value : for regidx : {} for mcm : {} one or other is out of bounds of [0,{}] and [0,{}] respectively", (int)regidx, (int)mcmidx, (int)TrapRegisters::kLastReg, (int)constants::MAXMCMCOUNT);
LOGP(warning, "get reg value : for regidx : {} for mcm : {} one or other is out of bounds of [0,{}] and [0,{}] respectively", (int)regidx, (int)mcmidx, (int)TrapRegisters::kLastReg, (int)constants::MAXMCMCOUNT);
55
56
return0; // TODO this could be a problem ?!
56
57
}
57
58
int regbase = mTrapRegisters[regidx].getBase(); // get the base of this register in the underlying storage block
58
59
int regoffset = regbase + mTrapRegisters[regidx].getDataWordNumber(); // get the offset to the register in question
60
+
// LOGP(info, "configdata index : {} for mcm {} mConfigData size : {} ",mConfigDataIndex[mcmidx],mcmidx, mConfigData.size());
59
61
60
62
uint32_t data = mConfigData[mConfigDataIndex[mcmidx]].getRegister(regidx, mTrapRegisters[regidx]);
0 commit comments