syscall.sh / openrisc / or1k_atomic

or1k_atomic

sys_or1k_atomic(unsigned long type, unsigned long *v1, unsigned long *v2)
number244 (0xf4)
abior1k
entry pointsys_or1k_atomic
sinceLinux 3.7
sourceelixir.bootlin.com

Registers

registervalue
r11244, the syscall number
r3unsigned long type
r4unsigned long *v1
r5unsigned long *v2
r11the return value

Then run l.sys 1 to enter the kernel.

Get this as JSON: https://api.syscall.sh/v2/syscalls/openrisc/or1k_atomic