CVSROOT: /cvs Module name: src Changes by: [email protected] 2026/07/27 05:39:45
Modified files:
sys/arch/riscv64/riscv64: clock.c
Log message:
Make use of the RISC-V Sstc extension for the system clock
Lets us program the timer without doing an SBI ecall, saving a bunch of
cycles. Bonus, on platforms which implement it, it works around an
ongoing issue in Linux kvm.
Initial diff from Nick Owens, ok kettenis@
