TF-M Reference Manual  1.2.0
TrustedFirmware-M
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
tfm_internal_defines.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2018-2019, Arm Limited. All rights reserved.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  *
6  */
7 #ifndef __TFM_INTERNAL_DEFINES_H__
8 #define __TFM_INTERNAL_DEFINES_H__
9 
10 #include <inttypes.h>
11 
12 /* IPC internal return status */
13 #define IPC_SUCCESS 0
14 #define IPC_ERROR_BAD_PARAMETERS (INT32_MIN)
15 #define IPC_ERROR_SHORT_BUFFER (INT32_MIN + 1)
16 #define IPC_ERROR_VERSION (INT32_MIN + 2)
17 #define IPC_ERROR_MEMORY_CHECK (INT32_MIN + 3)
18 #define IPC_ERROR_GENERIC (INT32_MIN + 0x1F)
19 
20 #endif