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 Apr 8, 2024
1 parent 33b45dd commit 8566423
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 8566423

Please sign in to comment.