Lucian Paul-Trifu | 5ee4f4e | 2022-06-22 18:45:30 +0100 | [diff] [blame] | 1 | /* |
| 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 */ |
| 11 | bool plat_has_non_host_platforms(void); |
| 12 | bool plat_has_unmanaged_dma_peripherals(void); |
| 13 | unsigned int plat_get_total_smmus(void); |
| 14 | void plat_enumerate_smmus(const uintptr_t **smmus_out, |
| 15 | size_t *smmu_count_out); |
| 16 | |
| 17 | #endif /* PLAT_DRTM_H */ |