nanosleep on tilepro
high-resolution sleep
sys_nanosleep(struct timespec *rqtp, struct timespec *rmtp)
| number | 101 (0x65) |
|---|---|
| abi | common |
| entry point | sys_nanosleep |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for tilepro) |
| man page | nanosleep(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r10 | 101, the syscall number |
r0 | struct timespec *rqtp |
r1 | struct timespec *rmtp |
r0 | the return value |
Then run swint1 to enter the kernel.
The kernel uses r1 to signal an error for ordinary calls.
Fast atomic calls use negative numbers and have different register behavior.
This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x64 35
- x86 162
- arm64 101
- arm 162
- riscv64 101
- ia32 162
- x32 1073741859
- loongarch64 101
- ppc64 162
- ppc 162
- s390x 162
- mips64 5034
- mipsn32 6034
- mipso32 4166
- alpha 340
- arc 101
- blackfin 162, removed in 4.17
- cris 162, removed in 4.17
- csky 101
- frv 162, removed in 4.17
- hexagon 101
- ia64 1168, removed in 6.7
- m32r 162, removed in 4.17
- m68k 162
- metag 101, removed in 4.17
- microblaze 162
- mn10300 162, removed in 4.17
- nds32 101, removed in 5.18
- nios2 101
- openrisc 101
- parisc 162
- score 101, removed in 4.17
- sh 162
- sparc 249
- sparc64 249
- tilegx 101, removed in 4.17
- xtensa 195
Get this as JSON: https://api.syscall.sh/v2/syscalls/tilepro/nanosleep?kernel=all