syscall.sh / s390x / reboot

reboot

reboot or enable/disable Ctrl-Alt-Del

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

Registers

registervalue
r188, the syscall number
r2int magic1
r3int magic2
r4unsigned int cmd
r5void *arg
r2the return value

Then run svc 0 to enter the kernel.

Same syscall on other architectures

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