xref: /rk3399_ARM-atf/include/lib/extensions/trbe.h (revision 5d1006998032c0bb1e531683a794aaf355ef4749)
1 /*
2  * Copyright (c) 2021-2024, Arm Limited. All rights reserved.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 #ifndef TRBE_H
8 #define TRBE_H
9 
10 #include <context.h>
11 
12 #if ENABLE_TRBE_FOR_NS
13 void trbe_enable(cpu_context_t *ctx);
14 void trbe_init_el2_unused(void);
15 #else
16 static inline void trbe_enable(cpu_context_t *ctx)
17 {
18 }
19 static inline void trbe_init_el2_unused(void)
20 {
21 }
22 #endif /* ENABLE_TRBE_FOR_NS */
23 
24 #endif /* TRBE_H */
25