|
ArvernOS
|
#include <stdbool.h>#include <stdint.h>Functions | |
| void | arch_restart () |
| void | arch_poweroff (int exit_code) |
| void | arch_halt () |
| void arch_halt | ( | ) |
Shutdowns everything and performs a clean system halt.
| void arch_poweroff | ( | int | exit_code | ) |
Shutdowns everything and performs a clean system power off.
| exit_code | when CONFIG_SEMIHOSTING is set to 1, this value is returned to the emulator. Otherwise, this value is ignored |
| void arch_restart | ( | ) |
Shutdowns everything and performs a clean reboot.