1 /*
2  * Copyright (c) 2018-2023, Arm Limited and Contributors. All rights reserved.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 #ifndef MPAM_H
8 #define MPAM_H
9 
10 #include <stdbool.h>
11 
12 #include <context.h>
13 
14 #if ENABLE_FEAT_MPAM
15 void mpam_enable(cpu_context_t *context);
16 void mpam_init_el2_unused(void);
17 #else
mpam_enable(cpu_context_t * context)18 static inline void mpam_enable(cpu_context_t *context)
19 {
20 }
mpam_init_el2_unused(void)21 static inline void mpam_init_el2_unused(void)
22 {
23 }
24 #endif /* ENABLE_FEAT_MPAM */
25 
26 #endif /* MPAM_H */
27