Zephyr API 3.6.99
|
Common target reboot functionality. More...
#include <zephyr/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. | |
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.