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