clock_nanosleep on mn10300
high-resolution sleep with specifiable clock
sys_clock_nanosleep(clockid_t which_clock, int flags, const struct timespec *rqtp, struct timespec *rmtp)
| number | 267 (0x10b) |
|---|---|
| abi | common |
| entry point | sys_clock_nanosleep |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for mn10300) |
| man page | clock_nanosleep(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
d0 | 267, the syscall number |
a0 | clockid_t which_clock |
d1 | int flags |
a3 | const struct timespec *rqtp |
a2 | struct timespec *rmtp |
d0 | the return value |
Then run syscall 0 to enter the kernel.
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 230
- x86 267
- arm64 115
- arm 265
- riscv64 115
- ia32 267
- x32 1073742054
- loongarch64 115
- ppc64 248
- ppc 248
- s390x 262
- mips64 5224
- mipsn32 6228
- mipso32 4265
- alpha 422
- arc 115
- blackfin 268, removed in 4.17
- cris 267, removed in 4.17
- csky 115
- frv 267, removed in 4.17
- hexagon 115
- ia64 1256, removed in 6.7
- m32r 267, removed in 4.17
- m68k 262
- metag 115, removed in 4.17
- microblaze 267
- nds32 115, removed in 5.18
- nios2 115
- openrisc 115
- parisc 258
- score 115, removed in 4.17
- sh 267
- sparc 259
- sparc64 259
- tilegx 115, removed in 4.17
- tilepro 115, removed in 4.17
- xtensa 247
Get this as JSON: https://api.syscall.sh/v2/syscalls/mn10300/clock_nanosleep?kernel=all