johpow01 | 8186596 | 2022-01-28 17:06:20 -0600 | [diff] [blame] | 1 | /* |
Jayanth Dodderi Chidanand | 118b335 | 2024-06-18 15:22:54 +0100 | [diff] [blame] | 2 | * Copyright (c) 2022-2024, Arm Limited. All rights reserved. |
johpow01 | 8186596 | 2022-01-28 17:06:20 -0600 | [diff] [blame] | 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | */ |
| 6 | |
| 7 | #ifndef BRBE_H |
| 8 | #define BRBE_H |
| 9 | |
Jayanth Dodderi Chidanand | 118b335 | 2024-06-18 15:22:54 +0100 | [diff] [blame] | 10 | #include <context.h> |
| 11 | |
Jayanth Dodderi Chidanand | 77b8b87 | 2023-03-01 15:35:28 +0000 | [diff] [blame] | 12 | #if ENABLE_BRBE_FOR_NS |
Jayanth Dodderi Chidanand | 118b335 | 2024-06-18 15:22:54 +0100 | [diff] [blame] | 13 | void brbe_enable(cpu_context_t *ctx); |
Jayanth Dodderi Chidanand | 77b8b87 | 2023-03-01 15:35:28 +0000 | [diff] [blame] | 14 | #else |
Jayanth Dodderi Chidanand | 118b335 | 2024-06-18 15:22:54 +0100 | [diff] [blame] | 15 | static inline void brbe_enable(cpu_context_t *ctx) |
Jayanth Dodderi Chidanand | 77b8b87 | 2023-03-01 15:35:28 +0000 | [diff] [blame] | 16 | { |
| 17 | } |
| 18 | #endif /* ENABLE_BRBE_FOR_NS */ |
johpow01 | 8186596 | 2022-01-28 17:06:20 -0600 | [diff] [blame] | 19 | |
| 20 | #endif /* BRBE_H */ |