xref: /rk3399_ARM-atf/include/lib/extensions/brbe.h (revision 2e0efb3f4039163859cf83ae6b683946934a72a3)
1744ad974Sjohpow01 /*
2*123002f9SJayanth Dodderi Chidanand  * Copyright (c) 2022-2024, Arm Limited. All rights reserved.
3744ad974Sjohpow01  *
4744ad974Sjohpow01  * SPDX-License-Identifier: BSD-3-Clause
5744ad974Sjohpow01  */
6744ad974Sjohpow01 
7744ad974Sjohpow01 #ifndef BRBE_H
8744ad974Sjohpow01 #define BRBE_H
9744ad974Sjohpow01 
10*123002f9SJayanth Dodderi Chidanand #include <context.h>
11*123002f9SJayanth Dodderi Chidanand 
12e8f0dd58SJayanth Dodderi Chidanand #if ENABLE_BRBE_FOR_NS
13*123002f9SJayanth Dodderi Chidanand void brbe_enable(cpu_context_t *ctx);
14e8f0dd58SJayanth Dodderi Chidanand #else
brbe_enable(cpu_context_t * ctx)15*123002f9SJayanth Dodderi Chidanand static inline void brbe_enable(cpu_context_t *ctx)
16e8f0dd58SJayanth Dodderi Chidanand {
17e8f0dd58SJayanth Dodderi Chidanand }
18e8f0dd58SJayanth Dodderi Chidanand #endif /* ENABLE_BRBE_FOR_NS */
19744ad974Sjohpow01 
20744ad974Sjohpow01 #endif /* BRBE_H */
21