xref: /rk3399_ARM-atf/include/plat/common/plat_drtm.h (revision e62748e3f1f16934f0ef2d5742f3ca0b125eaea2)
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 */
18