Skip to content

Commit

Permalink
core: arm64: define read function for id_isar5
Browse files Browse the repository at this point in the history
Define read function for ID_ISAR5 register for arm64.

Reviewed-by: Jerome Forissier <[email protected]>
Signed-off-by: Igor Opaniuk <[email protected]>
  • Loading branch information
igoropaniuk committed Jan 29, 2024
1 parent 84327c9 commit 3ecdc54
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/arch/arm/include/arm64.h
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,8 @@ DEFINE_REG_WRITE_FUNC_(cntps_ctl, uint32_t, cntps_ctl_el1)
DEFINE_REG_READ_FUNC_(cntps_tval, uint32_t, cntps_tval_el1)
DEFINE_REG_WRITE_FUNC_(cntps_tval, uint32_t, cntps_tval_el1)

DEFINE_REG_READ_FUNC_(id_isar5, uint32_t, id_isar5_el1)

DEFINE_REG_READ_FUNC_(pmccntr, uint64_t, pmccntr_el0)

DEFINE_U64_REG_READWRITE_FUNCS(ttbr0_el1)
Expand Down

0 comments on commit 3ecdc54

Please sign in to comment.