Manish V Badarkhe | 8a76603 | 2022-02-23 11:26:53 +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_MAIN_H |
| 8 | #define DRTM_MAIN_H |
| 9 | |
| 10 | #include <stdint.h> |
| 11 | |
| 12 | #include <lib/smccc.h> |
| 13 | |
Manish V Badarkhe | cc2c743 | 2022-02-24 20:22:39 +0000 | [diff] [blame] | 14 | #include "drtm_dma_prot.h" |
| 15 | |
Manish V Badarkhe | 8a76603 | 2022-02-23 11:26:53 +0000 | [diff] [blame] | 16 | enum drtm_retc { |
| 17 | SUCCESS = SMC_OK, |
| 18 | NOT_SUPPORTED = SMC_UNK, |
| 19 | INVALID_PARAMETERS = -2, |
| 20 | DENIED = -3, |
| 21 | NOT_FOUND = -4, |
| 22 | INTERNAL_ERROR = -5, |
| 23 | MEM_PROTECT_INVALID = -6, |
| 24 | }; |
| 25 | |
| 26 | #endif /* DRTM_MAIN_H */ |