FreeBSD/src 6f8ba91 (r340400)sys/riscv/include cpu.h

RISC-V: Implement get_cyclecount(9).

Add the missing implementation for get_cyclecount(9) on RISC-V by
reading the cycle CSR.

Submitted by:   Mitchell Horne <mhorne063 at gmail.com>
Reviewed by:    jhb
MFC after:      2 weeks
Differential Revision:  https://reviews.freebsd.org/D17953
DeltaFile
+2-2sys/riscv/include/cpu.h
+2-21 files

UnifiedSplitRaw