syscall.sh / parisc / swapon

swapon

start/stop swapping to file/device

sys_swapon(const char *specialfile, int swap_flags)
number87 (0x57)
abicommon
entry pointsys_swapon
sinceLinux 5.0
man pageswapon(2)
sourceelixir.bootlin.com

Registers

registervalue
r2087, the syscall number
r26const char *specialfile
r25int swap_flags
r28the return value

Then run ble 0x100(%sr2, %r0) to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/parisc/swapon