495a496
> //XXX The following constant might belong in a header file.
501c502
< void getHyperVector(Addr & PC, Addr & NPC, MiscReg TT)
---
> void getHyperVector(ThreadContext * tc, Addr & PC, Addr & NPC, MiscReg TT)
503c504
< Addr HTBA ;
---
> Addr HTBA = tc->readMiscReg(MISCREG_HTBA);
508c509
< void getPrivVector(Addr & PC, Addr & NPC, MiscReg TT, MiscReg TL)
---
> void getPrivVector(ThreadContext * tc, Addr & PC, Addr & NPC, MiscReg TT, MiscReg TL)
510c511
< Addr TBA ;
---
> Addr TBA = tc->readMiscReg(MISCREG_TBA);
559c560
< getHyperVector(PC, NPC, 2);
---
> getHyperVector(tc, PC, NPC, 2);
564c565
< getHyperVector(PC, NPC, trapType());
---
> getHyperVector(tc, PC, NPC, trapType());
569c570
< getPrivVector(PC, NPC, trapType(), TL+1);
---
> getPrivVector(tc, PC, NPC, trapType(), TL+1);