| * Copyright (c) 2015 Wind River Systems, Inc. |
| * SPDX-License-Identifier: Apache-2.0 |
| * @brief Common target reboot functionality |
| * @details See subsys/os/Kconfig and the reboot help for details. |
| #ifndef ZEPHYR_INCLUDE_SYS_REBOOT_H_ |
| #define ZEPHYR_INCLUDE_SYS_REBOOT_H_ |
| #define SYS_REBOOT_WARM 0 |
| #define SYS_REBOOT_COLD 1 |
| * @brief Reboot the system |
| * Reboot the system in the manner specified by @a type. Not all architectures |
| * or platforms support the various reboot types (SYS_REBOOT_COLD, |
| * When successful, this routine does not return. |
| extern FUNC_NORETURN void sys_reboot(int type); |
| #endif /* ZEPHYR_INCLUDE_SYS_REBOOT_H_ */ |