s390_sthyi(2) System Calls Manual s390_sthyi(2) s390_sthyi - STHYI LIBRARY Standard C library (libc, -lc) #include /* STHYI_* */ #include /* SYS_* */ #include int syscall(SYS_s390_sthyi, unsigned long function_code, void *resp_buffer, uint64_t *return_code, unsigned long flags); Note: glibc provides no wrapper for s390_sthyi(), necessitating the use of syscall(2). s390_sthyi() STHYI (Store Hypervisor Information). . , , . function_code . : STHYI_FC_CP_IFL_CAP CP (Central Processor) IFL (Integrated Facility for Linux). resp_buffer . function_code STHYI_FC_CP_IFL_CAP, (4K). 0, . . return_code STHYI; : 0 . 4 . return_code, function_code resp_buffer , . flags , 0. (. . ), s390_sthyi() STHYI -- [0..3]. 0 , *resp_buffer. 3 << >> *resp_buffer . 1 2 . -1, errno . EFAULT , resp_buffer return_code, . EINVAL , flags, . ENOMEM . EOPNOTSUPP function_code. Linux on s390. Linux 4.15. STHYI . , STHYI. ( Linux 4.16 ). . . syscall(2) Alexander Golubev , Azamat Hackimov , Hotellook, Nikita , Spiros Georgaras , Vladislav , Yuri Kozlov ; GNU 3 , . . , , . Linux man-pages 6.06 31 2023 . s390_sthyi(2)