Skip to content

Commit

Permalink
68hc11/flat: correct handling of interrupts on task switch
Browse files Browse the repository at this point in the history
  • Loading branch information
EtchedPixels committed Sep 19, 2024
1 parent 819253a commit 63ece8b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Kernel/platform/platform-mini11/tricks.S
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ nostash:
; switchout or dofork
lds udata + U_DATA__U_SP ; not needed ?
ldaa udata + U_DATA__U_ININTERRUPT
beq swtchdone ; in ISR, leave interrupts off
bne swtchdone ; in ISR, leave interrupts off
cli
swtchdone:
pula ; recover return code
Expand Down
2 changes: 1 addition & 1 deletion Kernel/platform/platform-minim8/tricks.S
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ nostash:
; switchout or dofork
lds udata + U_DATA__U_SP ; not needed ?
ldaa udata + U_DATA__U_ININTERRUPT
beq swtchdone ; in ISR, leave interrupts off
bne swtchdone ; in ISR, leave interrupts off
cli
swtchdone:
pula ; recover return code
Expand Down

0 comments on commit 63ece8b

Please sign in to comment.