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)
Fri, May 15, 9:16 PM
Unknown Object (File)
Fri, May 15, 9:16 PM
Unknown Object (File)
Fri, May 15, 9:16 PM
Unknown Object (File)
Fri, May 15, 9:15 PM
Unknown Object (File)
Fri, May 15, 2:12 PM
Unknown Object (File)
Fri, May 15, 11:25 AM
Unknown Object (File)
Fri, May 15, 9:36 AM
Unknown Object (File)
Thu, May 14, 4:32 PM
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.