blob: eeaf32f7ca0e6a4f9beea0e4310271cbc1c4cea6 [file] [log] [blame]
Marc Moreno Berengue20dab392017-11-29 13:18:58 +00001/*
Marc Moreno Berengueef202722018-08-10 13:43:43 +01002 * Copyright (c) 2017-2018, Arm Limited. All rights reserved.
Marc Moreno Berengue20dab392017-11-29 13:18:58 +00003 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 *
6 */
7
Marc Moreno Berengueef202722018-08-10 13:43:43 +01008#ifndef __TFM_PLAT_DEFS_H__
9#define __TFM_PLAT_DEFS_H__
Marc Moreno Berengue20dab392017-11-29 13:18:58 +000010/**
11 * \note The interfaces defined in this file must be implemented for each
12 * target.
13 */
Marc Moreno Berengue20dab392017-11-29 13:18:58 +000014
15#include <stdint.h>
16#include <limits.h>
17
18enum tfm_plat_errno_t {
19 TFM_PLAT_ERRNO_SUCCESS = 0,
20 TFM_PLAT_ERRNO_SYSTEM_ERR,
21 /* Following entry is only to ensure the error code of int size */
22 TFM_PLAT_ERRNO_FORCE_INT_SIZE = INT_MAX
23};
24
Marc Moreno Berengueef202722018-08-10 13:43:43 +010025#endif /* __TFM_PLAT_DEFS_H__ */