On 10/11/2016 10:51 AM, Thomas Hanson wrote:

As a separate issue, we now have functions to load the PC from an immediate
value and from a register.  Where else could we legitimately load the PC from?

E.g. an internal cpu register holding an exception return address?
I don't know the supervisor state of ARM well enough to name it off hand.

While it's true that quite a lot of qemu handles privilege transitions in helper functions, it's not required. (At least Alpha handles return from interrupt and return from PALmode completely inline.)


r~

Reply via email to