Lines Matching defs:tc
138 checkInterrupts(ThreadContext *tc) const
143 if (tc->pcState().pc() & 0x3)
146 if (tc->readMiscRegNoEffect(IPR_ASTRR))
152 if (tc->readMiscRegNoEffect(IPR_SIRR)) {
155 if (tc->readMiscRegNoEffect(IPR_SIRR) & (ULL(1) << i)) {
172 return ipl && ipl > tc->readMiscRegNoEffect(IPR_IPLR);
176 getInterrupt(ThreadContext *tc)
178 assert(checkInterrupts(tc));
182 if (tc->readMiscRegNoEffect(IPR_SIRR)) {
185 if (tc->readMiscRegNoEffect(IPR_SIRR) & (ULL(1) << i)) {
206 tc->readMiscRegNoEffect(IPR_IPLR), ipl, summary);
212 updateIntrInfo(ThreadContext *tc)
215 tc->setMiscRegNoEffect(IPR_ISR, newSummary);
216 tc->setMiscRegNoEffect(IPR_INTID, newIpl);