blob: 98823fdd5e747c3fe1da9e711dc8e271a6cbea7e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
;------------------------------------------------------------------------------
;
; ArmReadCntPctReg() for AArch64
;
; Copyright (c) 2023 - 2024, Arm Limited. All rights reserved.<BR>
;
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
;------------------------------------------------------------------------------
EXPORT ArmReadCntPctReg
AREA BaseLib_LowLevel, CODE, READONLY
;/**
; Reads the CNTPCT_EL0 Register.
;
; @return The contents of the CNTPCT_EL0 register.
;
;**/
;UINT64
;EFIAPI
;ArmReadCntPctReg (
; VOID
; );
;
ArmReadCntPctReg
mrs x0, cntpct_el0
ret
END
|