6809: restore memory state in case of int while in kernel.
authorBrett Gordon <beretta42@gmail.com>
Tue, 26 Jul 2016 14:30:40 +0000 (10:30 -0400)
committerBrett Gordon <beretta42@gmail.com>
Tue, 26 Jul 2016 14:30:40 +0000 (10:30 -0400)
Kernel/lowlevel-6809.s

index f3a73b8..bf8fc52 100644 (file)
@@ -344,6 +344,7 @@ interrupt_return:
             rti
 interrupt_return_x:
            tfr x,s
+           jsr map_restore
            bra interrupt_return
 
 ;  Enter with X being the signal to send ourself