blob: a19478f91ad550b1058656e2f17b3150c7e7c5c6 [file] [log] [blame]
Marc Moreno Berengue20dab392017-11-29 13:18:58 +00001/*
2 * Copyright (c) 2017, Arm Limited. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 *
6 */
7
8#ifndef __PLAT_DEFS_H__
9#define __PLAT_DEFS_H__
10/**
11 * \note The interfaces defined in this file must be implemented for each
12 * target.
13 */
14#ifdef __cplusplus
15extern "C" {
16#endif
17
18#include <stdint.h>
19#include <limits.h>
20
21enum tfm_plat_errno_t {
22 TFM_PLAT_ERRNO_SUCCESS = 0,
23 TFM_PLAT_ERRNO_SYSTEM_ERR,
24 /* Following entry is only to ensure the error code of int size */
25 TFM_PLAT_ERRNO_FORCE_INT_SIZE = INT_MAX
26};
27
28#ifdef __cplusplus
29}
30#endif
31
32#endif /* __PLAT_DEFS_H__ */