This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

armv7a/armv8 : Undefined Abort Exception and MMU

Hi !

When MMU is enabled, and a undefined abort exception is triggered, are we sure that the address stored in the `lr` / `elr_elx` registers is actually mapped by the MMU, or should I check that before trying to access the address ?

Best,

V.

Parents
  • ELR_ELx contains the return address to begin execution from, once the control returns from the exception. If the address inside ELR_ELx is not mapped when the exception returns, a prefetch abort can be expected to be immediately raised.

    Did you instead mean FAR_ELx?

    Also, by undefined abort, did you mean one of these three: undefined instruction, data abort, prefetch abort?

Reply
  • ELR_ELx contains the return address to begin execution from, once the control returns from the exception. If the address inside ELR_ELx is not mapped when the exception returns, a prefetch abort can be expected to be immediately raised.

    Did you instead mean FAR_ELx?

    Also, by undefined abort, did you mean one of these three: undefined instruction, data abort, prefetch abort?

Children