Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151925025
D49487.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
561 B
Referenced Files
None
Subscribers
None
D49487.id.diff
View Options
diff --git a/sys/riscv/riscv/timer.c b/sys/riscv/riscv/timer.c
--- a/sys/riscv/riscv/timer.c
+++ b/sys/riscv/riscv/timer.c
@@ -1,5 +1,5 @@
/*-
- * Copyright (c) 2015-2024 Ruslan Bukin <br@bsdpad.com>
+ * Copyright (c) 2015-2025 Ruslan Bukin <br@bsdpad.com>
* All rights reserved.
*
* Portions of this software were developed by SRI International and the
@@ -146,7 +146,7 @@
if (has_sstc)
csr_write(stimecmp, -1UL);
else
- csr_clear(sip, SIP_STIP);
+ sbi_set_timer(-1UL);
if (sc->et.et_active)
sc->et.et_event_cb(&sc->et, sc->et.et_arg);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Apr 12, 1:46 PM (16 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31351511
Default Alt Text
D49487.id.diff (561 B)
Attached To
Mode
D49487: riscv timer: fix interrupt handing
Attached
Detach File
Event Timeline
Log In to Comment