Page MenuHomeFreeBSD

Allow access to the virtual counter in the ARM generic timer
ClosedPublic

Authored by andrew on Aug 11 2014, 10:07 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 23, 12:57 AM
Unknown Object (File)
Sat, Apr 18, 7:40 PM
Unknown Object (File)
Thu, Apr 16, 9:37 AM
Unknown Object (File)
Tue, Apr 14, 11:42 AM
Unknown Object (File)
Mon, Apr 13, 4:52 AM
Unknown Object (File)
Fri, Mar 27, 3:46 AM
Unknown Object (File)
Mar 24 2026, 12:01 AM
Unknown Object (File)
Mar 23 2026, 9:48 PM
Subscribers
None

Details

Summary

Allow access to the virtual counter in the ARM generic timer. The SoC
may not allow access to the physical counter from non-secure PL1. In
this case we will need to access the virtual counter which is always
available.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

andrew retitled this revision from to Allow access to the virtual counter in the ARM generic timer.
andrew updated this object.
andrew edited the test plan for this revision. (Show Details)

Need to fix a comment containing a register name.

sys/arm/arm/generic_timer.c
157 ↗(On Diff #1052)

This should be cntv_tval

Add the virtual timer irq handler.

Fix a comment to have the correct register name

andrew updated this revision to Diff 1374.

Closed by commit rS271189 (authored by @andrew).