Arvind Ram Prakash | 62d87e7 | 2024-06-06 11:33:37 -0500 | [diff] [blame] | 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 | ||||
15 | static inline void fgt2_enable(cpu_context_t *ctx) | ||||
16 | { | ||||
17 | } | ||||
18 | #endif /* ENABLE_FEAT_FGT2 */ | ||||
19 | |||||
20 | #endif /* FGT2_H */ |