syscall.sh / xtensa / reboot

reboot

reboot or enable/disable Ctrl-Alt-Del

sys_reboot(int magic1, int magic2, unsigned int cmd, void *arg)
number203 (0xcb)
abicommon
entry pointsys_reboot
sinceLinux 5.0
man pagereboot(2)
sourceelixir.bootlin.com

Registers

registervalue
a2203, the syscall number
a6int magic1
a3int magic2
a4unsigned int cmd
a5void *arg
a2the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/xtensa/reboot