CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]        2021/05/04 10:38:06

Modified files:
        sys/arch/riscv64/conf: GENERIC RAMDISK files.riscv64 
        sys/arch/riscv64/dev: mainbus.c 
        sys/arch/riscv64/include: cpu.h 
        sys/arch/riscv64/riscv64: cpu.c intr.c machdep.c 
Added files:
        sys/arch/riscv64/riscv64: clock.c 
Removed files:
        sys/arch/riscv64/dev: timer.c timer.h 

Log message:
The clock on RISC-V is architectural, so we really don't need the
whole abstraction layer to support multiple timers.  And we don't
really need a separate driver.  Replace timer(4) with code based on
the powerpc64 implementation of the randomized statclock code.

Fixes hangs seen on real hardware.

ok jsg@, drahn@

Reply via email to