6502: sei after we switched memory banks and set our flags up
authorAlan Cox <alan@linux.intel.com>
Fri, 16 Jan 2015 22:56:58 +0000 (22:56 +0000)
committerAlan Cox <alan@linux.intel.com>
Fri, 16 Jan 2015 22:56:58 +0000 (22:56 +0000)
Kernel/lowlevel-6502.s

index ab8eba6..66031ed 100644 (file)
@@ -65,10 +65,10 @@ unix_sig_exit:
 ;      x,a holds the target address
 ;
 _doexec:
-       sei
        ldy #0
        sty _kernel_flag
        jsr map_process_always
+       sei
        jmp platform_doexec
 
 ;