syscall.sh / xtensa / sched_yield
sched_yield
yield the processor
sys_sched_yield(void)
| number | 219 (0xdb) |
|---|---|
| abi | common |
| entry point | sys_sched_yield |
| since | Linux 5.0 |
| man page | sched_yield(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
a2 | 219, the syscall number |
a2 | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 24
- x86 158
- arm64 124
- arm 158
- riscv64 124
- x32 1073741848
- loongarch64 124
- ppc64 158
- ppc 158
- s390x 158
- mips64 5023
- mipsn32 6023
- mipso32 4162
- alpha 334
- arc 124
- csky 124
- hexagon 124
- m68k 158
- microblaze 158
- nios2 124
- openrisc 124
- parisc 158
- sh 158
- sparc 245
- sparc64 245
Get this as JSON: https://api.syscall.sh/v2/syscalls/xtensa/sched_yield