blob: 4327278e0f3bed283d0bd70ed0e300a241be0150 [file] [log] [blame]
Jeenu Viswambharan2da918c2018-07-31 16:13:33 +01001/*
2 * Copyright (c) 2018, 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
Andre Przywara84b86532022-11-17 16:42:09 +000012#if ENABLE_MPAM_FOR_LOWER_ELS
Antonio Nino Diaz033b4bb2018-10-25 16:52:26 +010013void mpam_enable(bool el2_unused);
Andre Przywara84b86532022-11-17 16:42:09 +000014#else
Andre Przywaraa1c9ad12023-03-22 13:25:00 +000015static inline void mpam_enable(bool el2_unused)
Andre Przywara84b86532022-11-17 16:42:09 +000016{
17}
18#endif
Jeenu Viswambharan2da918c2018-07-31 16:13:33 +010019
20#endif /* MPAM_H */