mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-27 12:04:27 +01:00
baremetal/arch/aarch64/timer.c: frequency is in hertz
This commit is contained in:
@@ -23,7 +23,7 @@
|
|||||||
SYSREG_READ(name, type) \
|
SYSREG_READ(name, type) \
|
||||||
SYSREG_WRITE(name, type)
|
SYSREG_WRITE(name, type)
|
||||||
|
|
||||||
/* Frequency TODO unit? */
|
/* Frequency in Hz. ? */
|
||||||
SYSREG_READ_WRITE(uint64_t, cntfrq_el0)
|
SYSREG_READ_WRITE(uint64_t, cntfrq_el0)
|
||||||
|
|
||||||
/* Current virtual counter value. */
|
/* Current virtual counter value. */
|
||||||
|
|||||||
Reference in New Issue
Block a user