summaryrefslogtreecommitdiffstats
path: root/include/lib/extensions/mpam.h
blob: 170f919bb089e8b9b2068ca3c525a2898a4d41a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
 * Copyright (c) 2018-2023, Arm Limited and Contributors. All rights reserved.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

#ifndef MPAM_H
#define MPAM_H

#include <stdbool.h>

#include <context.h>

#if ENABLE_FEAT_MPAM
void mpam_enable(cpu_context_t *context);
void mpam_init_el2_unused(void);
#else
static inline void mpam_enable(cpu_context_t *context)
{
}
static inline void mpam_init_el2_unused(void)
{
}
#endif /* ENABLE_FEAT_MPAM */

#endif /* MPAM_H */