Manish V Badarkhe | cc2c743 | 2022-02-24 20:22:39 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2022 Arm Limited. All rights reserved. |
| 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | * |
| 6 | */ |
| 7 | #ifndef DRTM_DMA_PROT_H |
| 8 | #define DRTM_DMA_PROT_H |
| 9 | |
| 10 | #include <stdint.h> |
| 11 | |
Manish Pandey | fef989c | 2022-06-21 15:36:45 +0100 | [diff] [blame] | 12 | struct __packed drtm_dl_dma_prot_args_v1 { |
| 13 | uint64_t dma_prot_table_paddr; |
| 14 | uint64_t dma_prot_table_size; |
| 15 | }; |
| 16 | |
| 17 | /* Opaque / encapsulated type. */ |
| 18 | typedef struct drtm_dl_dma_prot_args_v1 drtm_dl_dma_prot_args_v1_t; |
| 19 | |
Manish V Badarkhe | cc2c743 | 2022-02-24 20:22:39 +0000 | [diff] [blame] | 20 | bool drtm_dma_prot_init(void); |
| 21 | |
| 22 | #endif /* DRTM_DMA_PROT_H */ |