syscall.sh / ppc / timer_gettime64
timer_gettime64
arm/disarm and fetch state of POSIX per-process timer
sys_timer_gettime(timer_t timer_id, struct __kernel_itimerspec *setting)
| number | 408 (0x198) |
|---|---|
| abi | 32 |
| entry point | sys_timer_gettime |
| since | Linux 5.1 |
| man page | timer_gettime(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r0 | 408, the syscall number |
r3 | timer_t timer_id |
r4 | struct __kernel_itimerspec *setting |
r3 | the return value |
Then run sc to enter the kernel.
Same syscall on other architectures
- x86 408
- arm 408
- mipsn32 6408
- mipso32 4408
- arc 408
- csky 408
- hexagon 408
- m68k 408
- microblaze 408
- nios2 408
- openrisc 408
- parisc 408
- sh 408
- sparc 408
- xtensa 408
Get this as JSON: https://api.syscall.sh/v2/syscalls/ppc/timer_gettime64