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 14 enum drtm_retc { 15 SUCCESS = SMC_OK, 16 NOT_SUPPORTED = SMC_UNK, 17 INVALID_PARAMETERS = -2, 18 DENIED = -3, 19 NOT_FOUND = -4, 20 INTERNAL_ERROR = -5, 21 MEM_PROTECT_INVALID = -6, 22 }; 23 24 #endif /* DRTM_MAIN_H */ 25