syscall.sh / s390x / s390_sthyi
s390_sthyi
emulate STHYI instruction
sys_s390_sthyi(unsigned long function_code, void *buffer, u64 *return_code, unsigned long flags)
| number | 380 (0x17c) |
|---|---|
| abi | common |
| entry point | sys_s390_sthyi |
| since | Linux 4.16 |
| man page | s390_sthyi(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r1 | 380, the syscall number |
r2 | unsigned long function_code |
r3 | void *buffer |
r4 | u64 *return_code |
r5 | unsigned long flags |
r2 | the return value |
Then run svc 0 to enter the kernel.
Get this as JSON: https://api.syscall.sh/v2/syscalls/s390x/s390_sthyi