mirror of
git://git.9front.org/plan9front/plan9front
synced 2025-01-12 11:10:06 +00:00
bcm64: make the kernel use virtual timer counter register for cycles()
This commit is contained in:
parent
b7e67e9e36
commit
8a8329ad95
1 changed files with 3 additions and 0 deletions
|
@ -298,6 +298,9 @@ _goodnight:
|
|||
RETURN
|
||||
|
||||
TEXT vcycles(SB), 1, $-4
|
||||
MRS CNTVCT_EL0, R0
|
||||
RETURN
|
||||
|
||||
TEXT lcycles(SB), 1, $-4
|
||||
MRS PMCCNTR_EL0, R0
|
||||
RETURN
|
||||
|
|
Loading…
Reference in a new issue