Lines Matching refs:tc
133 bool takeInt(ThreadContext *tc, InterruptTypes int_type) const;
136 checkInterrupts(ThreadContext *tc) const
138 HCR hcr = tc->readMiscReg(MISCREG_HCR);
143 CPSR cpsr = tc->readMiscReg(MISCREG_CPSR);
145 bool isHypMode = currEL(tc) == EL2;
146 bool isSecure = inSecureState(tc);
155 bool take_irq = takeInt(tc, INT_IRQ);
156 bool take_fiq = takeInt(tc, INT_FIQ);
157 bool take_ea = takeInt(tc, INT_ABT);
225 getInterrupt(ThreadContext *tc)
227 assert(checkInterrupts(tc));
229 HCR hcr = tc->readMiscReg(MISCREG_HCR);
230 CPSR cpsr = tc->readMiscReg(MISCREG_CPSR);
235 bool isHypMode = currEL(tc) == EL2;
236 bool isSecure = inSecureState(tc);
241 bool take_irq = takeInt(tc, INT_IRQ);
242 bool take_fiq = takeInt(tc, INT_FIQ);
243 bool take_ea = takeInt(tc, INT_ABT);
268 updateIntrInfo(ThreadContext *tc)