Zephyr API Documentation
2.7.0-rc2
A Scalable Open Source RTOS
|
Common target reboot functionality. More...
#include <toolchain.h>
Go to the source code of this file.
Macros | |
#define | SYS_REBOOT_WARM 0 |
#define | SYS_REBOOT_COLD 1 |
Functions | |
FUNC_NORETURN void | sys_reboot (int type) |
Reboot the system. More... | |
Common target reboot functionality.
See subsys/os/Kconfig and the reboot help for details.
#define SYS_REBOOT_COLD 1 |
#define SYS_REBOOT_WARM 0 |
FUNC_NORETURN void sys_reboot | ( | int | type | ) |
Reboot the system.
Reboot the system in the manner specified by type. Not all architectures or platforms support the various reboot types (SYS_REBOOT_COLD, SYS_REBOOT_WARM).
When successful, this routine does not return.