Skip to content

Commit

Permalink
fix partial modification of WakeG timer value
Browse files Browse the repository at this point in the history
  • Loading branch information
abarisani committed Nov 23, 2023
1 parent db3b9e6 commit 76c009f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/runtime/sys_tamago_arm.s
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,8 @@ TEXT runtime·WakeG(SB),NOSPLIT|NOFRAME,$0-0
// g->m->p.timerModifiedEarliest = 1
MOVW $1, R2
MOVW R2, (p_timerModifiedEarliest)(R1)
MOVW $0, R2
MOVW R2, (p_timerModifiedEarliest+4)(R1)
done:
RET

Expand Down

0 comments on commit 76c009f

Please sign in to comment.