syscall.sh / parisc / reboot
reboot
reboot or enable/disable Ctrl-Alt-Del
sys_reboot(int magic1, int magic2, unsigned int cmd, void *arg)
| number | 88 (0x58) |
|---|---|
| abi | common |
| entry point | sys_reboot |
| since | Linux 5.0 |
| man page | reboot(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r20 | 88, the syscall number |
r26 | int magic1 |
r25 | int magic2 |
r24 | unsigned int cmd |
r23 | void *arg |
r28 | the return value |
Then run ble 0x100(%sr2, %r0) to enter the kernel.
Same syscall on other architectures
- x64 169
- x86 88
- arm64 142
- arm 88
- riscv64 142
- x32 1073741993
- loongarch64 142
- ppc64 88
- ppc 88
- s390x 88
- mips64 5164
- mipsn32 6164
- mipso32 4088
- alpha 311
- arc 142
- csky 142
- hexagon 142
- m68k 88
- microblaze 88
- nios2 142
- openrisc 142
- sh 88
- sparc 55
- sparc64 55
- xtensa 203
Get this as JSON: https://api.syscall.sh/v2/syscalls/parisc/reboot