syscall.sh / parisc / nanosleep
nanosleep
high-resolution sleep
sys_nanosleep_time32(struct old_timespec32 *rqtp, struct old_timespec32 *rmtp)
| number | 162 (0xa2) |
|---|---|
| abi | 32 |
| entry point | sys_nanosleep_time32 |
| since | Linux 5.0 |
| man page | nanosleep(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r20 | 162, the syscall number |
r26 | struct old_timespec32 *rqtp |
r25 | struct old_timespec32 *rmtp |
r28 | the return value |
Then run ble 0x100(%sr2, %r0) to enter the kernel.
Same syscall on other architectures
- x64 35
- x86 162
- arm64 101
- arm 162
- riscv64 101
- x32 1073741859
- loongarch64 101
- ppc64 162
- ppc 162
- s390x 162
- mips64 5034
- mipsn32 6034
- mipso32 4166
- alpha 340
- arc 101
- csky 101
- hexagon 101
- m68k 162
- microblaze 162
- nios2 101
- openrisc 101
- sh 162
- sparc 249
- sparc64 249
- xtensa 195
Get this as JSON: https://api.syscall.sh/v2/syscalls/parisc/nanosleep