clock_gettime on ia64
clock and time functions
sys_clock_gettime(clockid_t which_clock, struct __kernel_timespec *tp)
| number | 1254 (0x4e6) |
|---|---|
| abi | common |
| entry point | sys_clock_gettime |
| since | Linux 5.0 or earlier (5.0 is the first release scanned for ia64) |
| man page | clock_gettime(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r15 | 1254, the syscall number |
out0 | clockid_t which_clock |
out1 | struct __kernel_timespec *tp |
r8 | the return value |
Then run break 0x100000 to enter the kernel.
The kernel uses r10 to signal an error.
The pipe call returns file descriptors in r8 and r9.
This architecture was removed from the Linux kernel in Linux 6.7. The newest release with a syscall table here is Linux 6.6. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x64 228
- x86 265
- arm64 113
- arm 263
- riscv64 113
- ia32 265
- x32 1073742052
- loongarch64 113
- ppc64 246
- ppc 246
- s390x 260
- mips64 5222
- mipsn32 6226
- mipso32 4263
- alpha 420
- arc 113
- blackfin 266, removed in 4.17
- cris 265, removed in 4.17
- csky 113
- frv 265, removed in 4.17
- hexagon 113
- m32r 265, removed in 4.17
- m68k 260
- metag 113, removed in 4.17
- microblaze 265
- mn10300 265, removed in 4.17
- nds32 113, removed in 5.18
- nios2 113
- openrisc 113
- parisc 256
- score 113, removed in 4.17
- sh 265
- sparc 257
- sparc64 257
- tilegx 113, removed in 4.17
- tilepro 113, removed in 4.17
- xtensa 245
Get this as JSON: https://api.syscall.sh/v2/syscalls/ia64/clock_gettime?kernel=all