syscall.sh / openrisc / or1k_atomic
or1k_atomic
sys_or1k_atomic(unsigned long type, unsigned long *v1, unsigned long *v2)
| number | 244 (0xf4) |
|---|---|
| abi | or1k |
| entry point | sys_or1k_atomic |
| since | Linux 3.7 |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r11 | 244, the syscall number |
r3 | unsigned long type |
r4 | unsigned long *v1 |
r5 | unsigned long *v2 |
r11 | the return value |
Then run l.sys 1 to enter the kernel.
Get this as JSON: https://api.syscall.sh/v2/syscalls/openrisc/or1k_atomic