blob: d0e568363a28d6ff09697ce58b5de64a3b3eb864 [file] [log] [blame]
Marc Moreno Berengue8e0fa7a2018-10-04 18:25:13 +01001/*
2 * Copyright (c) 2018, Arm Limited. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 *
6 */
7
8#ifndef __TFM_PLATFORM_SYSTEM_H__
9#define __TFM_PLATFORM_SYSTEM_H__
10/**
11 * \note The interfaces defined in this file must be implemented for each
12 * target.
13 */
14
15#include "tfm_plat_defs.h"
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
21/**
22 * \brief Resets the system.
23 *
24 * \details Requests a system reset to reset the MCU.
25 */
26TFM_LINK_SET_OBJECT_IN_PARTITION_SECTION("TFM_SP_PLATFORM")
27void tfm_platform_hal_system_reset(void);
28
29#ifdef __cplusplus
30}
31#endif
32
33#endif /* __TFM_PLATFORM_SYSTEM_H__ */