Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F175441441
D35462.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
266 B
Referenced Files
None
Subscribers
None
D35462.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
@@ -219,6 +219,8 @@
sc->et.et_priv = sc;
et_register(&sc->et);
+ set_cputicker(get_timecount, sc->clkfreq, false);
+
return (0);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Oct 11, 9:38 PM (5 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
40628437
Default Alt Text
D35462.diff (266 B)
Attached To
Mode
D35462: riscv timer: provide a function for cpu_ticks
Attached
Detach File
Event Timeline
Log In to Comment