syscall.sh / sparc64 / reboot

reboot

reboot or enable/disable Ctrl-Alt-Del

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

Registers

registervalue
g155, the syscall number
o0int magic1
o1int magic2
o2unsigned int cmd
o3void *arg
o0the return value

Then run t 0x6d to enter the kernel.

Same syscall on other architectures

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