blob: 4c1adac04a0a6968ddfb90eaa1d9f7d0260363b4 [file] [log] [blame]
Manish V Badarkhe8a766032022-02-23 11:26:53 +00001/*
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 Badarkhecc2c7432022-02-24 20:22:39 +000014#include "drtm_dma_prot.h"
15
Manish V Badarkhe8a766032022-02-23 11:26:53 +000016enum 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 */