A student program enabled interrupts in the KBSR, set the interrupt vector....and got interrupts, even though the user-mode code is running with PSR = 800x not C00x. Since the user-mode code does some traps, I thought maybe that interrupts were being enabled in the trap handler and happening there... but the supervisor stack has x3010 and x8001 at its top when a breakpoint is put at the start of the interrupt handler. Can share the students code privately if you cannot replicate.
A student program enabled interrupts in the KBSR, set the interrupt vector....and got interrupts, even though the user-mode code is running with PSR = 800x not C00x. Since the user-mode code does some traps, I thought maybe that interrupts were being enabled in the trap handler and happening there... but the supervisor stack has x3010 and x8001 at its top when a breakpoint is put at the start of the interrupt handler. Can share the students code privately if you cannot replicate.