What happens when a Bus Error occurs during interrupt processing?

Tagged: 

This topic contains 1 reply, has 1 voice, and was last updated by  ChrisImgtec 3 years, 11 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #31570

    ChrisImgtec
    Moderator

    If either an IBE (Instruction Bus Error) or a DBE (Data Bus Error) exception occurs while the interrupt code is in the preamble of an interrupt routine (before the EPC has been saved and the interrupt condition cleared), the interrupt will jump to the exception code but the EPC will not change and will still point back to the interrupted code. So when the program returns from the exception, it returns to the interrupted code, and since the interrupt wasn’t cleared, the code will be interrupted again.

    #38260

    ChrisImgtec
    Moderator

    Imagination MIPS Support

Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.