Page MenuHomeFreeBSD

D45226.id138703.diff
No OneTemporary

D45226.id138703.diff

Index: sys/riscv/riscv/timer.c
===================================================================
--- sys/riscv/riscv/timer.c
+++ sys/riscv/riscv/timer.c
@@ -143,7 +143,10 @@
sc = (struct riscv_timer_softc *)arg;
- csr_clear(sip, SIP_STIP);
+ if (has_sstc)
+ csr_write(stimecmp, -1UL);
+ else
+ csr_clear(sip, SIP_STIP);
if (sc->et.et_active)
sc->et.et_event_cb(&sc->et, sc->et.et_arg);

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 16, 11:56 PM (7 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14668039
Default Alt Text
D45226.id138703.diff (403 B)

Event Timeline