From: Alan Cox Date: Mon, 21 Jan 2019 22:19:59 +0000 (+0000) Subject: preemption: rabbit also needs the fix X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=64e187edefd47f9d56f2df0a7b7137542ff2fefa;p=FUZIX.git preemption: rabbit also needs the fix --- diff --git a/Kernel/lowlevel-rabbit.s b/Kernel/lowlevel-rabbit.s index 3d04d7fd..9d1b9267 100644 --- a/Kernel/lowlevel-rabbit.s +++ b/Kernel/lowlevel-rabbit.s @@ -490,7 +490,11 @@ preemption: ; Process status is offset 0 ; ld hl, (U_DATA__U_PTAB) + ld a,(hl) + cp #P_RUNNING + jr nz, not_running ld (hl), #P_READY +not_running: call _platform_switchout ; ; We are no longer in an interrupt or a syscall