Boyan Karatotev | 05504ba | 2023-02-15 13:21:50 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2023, Arm Limited. All rights reserved. |
| 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | */ |
| 6 | |
| 7 | #ifndef PMUV3_H |
| 8 | #define PMUV3_H |
| 9 | |
| 10 | #include <context.h> |
| 11 | |
Boyan Karatotev | 6468d4a | 2023-02-16 15:12:45 +0000 | [diff] [blame] | 12 | void pmuv3_init_el3(void); |
Boyan Karatotev | 05504ba | 2023-02-15 13:21:50 +0000 | [diff] [blame] | 13 | |
| 14 | #ifdef __aarch64__ |
| 15 | void pmuv3_enable(cpu_context_t *ctx); |
| 16 | void pmuv3_init_el2_unused(void); |
| 17 | #endif /* __aarch64__ */ |
| 18 | |
| 19 | #endif /* PMUV3_H */ |