Page MenuHomeFreeBSD

RISC-V: Implement get_cyclecount(9)
ClosedPublic

Authored by mhorne063_gmail.com on Nov 11 2018, 10:24 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 21, 11:04 PM
Unknown Object (File)
Thu, Oct 16, 4:17 AM
Unknown Object (File)
Wed, Oct 15, 5:16 PM
Unknown Object (File)
Wed, Oct 15, 5:16 PM
Unknown Object (File)
Wed, Oct 15, 5:16 PM
Unknown Object (File)
Wed, Oct 15, 5:16 PM
Unknown Object (File)
Wed, Oct 15, 6:38 AM
Unknown Object (File)
Mon, Oct 13, 7:19 AM
Subscribers

Details

Summary

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

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Nov 12 2018, 7:11 PM
markj added inline comments.
sys/riscv/include/cpu.h
42 ↗(On Diff #50293)

This could probably be sorted before frame.h.

This revision now requires review to proceed.Nov 13 2018, 3:42 AM
This revision was not accepted when it landed; it landed in state Needs Review.Nov 13 2018, 6:20 PM
This revision was automatically updated to reflect the committed changes.