syscall.sh / m68k / 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 5.0
man pagereboot(2)
sourceelixir.bootlin.com

Registers

registervalue
d088, the syscall number
d1int magic1
d2int magic2
d3unsigned int cmd
d4void *arg
d0the return value

Then run trap #0 to enter the kernel.

Same syscall on other architectures

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