Skip to content

Commit

Permalink
core: arm64: add read_ctr_el0 function
Browse files Browse the repository at this point in the history
Add the read_ctr_el0 function in the arm64.h file

Signed-off-by: Cedric Neveux <[email protected]>
Reviewed-by: Jens Wiklander <[email protected]>
  • Loading branch information
cneveux authored and jforissier committed Aug 29, 2019
1 parent c22e487 commit c462c67
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/arch/arm/include/arm64.h
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,7 @@ DEFINE_U32_REG_READWRITE_FUNCS(daif)
DEFINE_U32_REG_READWRITE_FUNCS(fpcr)
DEFINE_U32_REG_READWRITE_FUNCS(fpsr)

DEFINE_U32_REG_READ_FUNC(ctr_el0)
DEFINE_U32_REG_READ_FUNC(contextidr_el1)
DEFINE_U32_REG_READ_FUNC(sctlr_el1)

Expand Down

0 comments on commit c462c67

Please sign in to comment.