From 85664231cb77a0306ea9496ac1a56d903f0d4211 Mon Sep 17 00:00:00 2001 From: Andrea Barisani Date: Thu, 23 Nov 2023 11:45:42 +0100 Subject: [PATCH] fix partial modification of WakeG timer value --- src/runtime/sys_tamago_arm.s | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/runtime/sys_tamago_arm.s b/src/runtime/sys_tamago_arm.s index 8487376acaab8c..3d62c4809912ed 100644 --- a/src/runtime/sys_tamago_arm.s +++ b/src/runtime/sys_tamago_arm.s @@ -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