blob: 3c4e3d53692a266a85e4ac78d6fef26df892b148 [file] [log] [blame]
Lucian Paul-Trifu5ee4f4e2022-06-22 18:45:30 +01001/*
2 * Copyright (c) 2022, Arm Limited. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef PLAT_DRTM_H
8#define PLAT_DRTM_H
9
10/* platform-specific DMA protection functions */
11bool plat_has_non_host_platforms(void);
12bool plat_has_unmanaged_dma_peripherals(void);
13unsigned int plat_get_total_smmus(void);
14void plat_enumerate_smmus(const uintptr_t **smmus_out,
15 size_t *smmu_count_out);
16
17#endif /* PLAT_DRTM_H */