bcm64: make the kernel use virtual timer counter register for cycles()

This commit is contained in:
cinap_lenrek 2021-07-25 14:12:17 +00:00
parent b7e67e9e36
commit 8a8329ad95
1 changed files with 3 additions and 0 deletions

View File

@ -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