syscall.sh / xtensa / clock_nanosleep

clock_nanosleep

high-resolution sleep with specifiable clock

sys_clock_nanosleep_time32(clockid_t which_clock, int flags, struct old_timespec32 *rqtp, struct old_timespec32 *rmtp)
number247 (0xf7)
abicommon
entry pointsys_clock_nanosleep_time32
sinceLinux 5.0
man pageclock_nanosleep(2)
sourceelixir.bootlin.com

Registers

registervalue
a2247, the syscall number
a6clockid_t which_clock
a3int flags
a4struct old_timespec32 *rqtp
a5struct old_timespec32 *rmtp
a2the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/xtensa/clock_nanosleep